in reply to Re: Use, Exporter, I'm Dizzy.
in thread Use, Exporter, I'm Dizzy.
Outputs...#! /usr/bin/perl use warnings; use strict; use test2(); my $output = testroutine(); print $output, "\n";
However, how come I'm even able to call testroutine? I didn't think that use would populate my name space? Is it because I don't have package defined at the top of the module? Therefore it's assuming the subroutine is part of Main? Hope that makes sense.$ ./test.pl This is a test
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Use, Exporter, I'm Dizzy.
by ysth (Canon) on Feb 07, 2007 at 17:28 UTC | |
|
Re^3: Use, Exporter, I'm Dizzy.
by ikegami (Patriarch) on Feb 07, 2007 at 17:32 UTC | |
|
Re^3: Use, Exporter, I'm Dizzy.
by ferreira (Chaplain) on Feb 07, 2007 at 17:36 UTC |