Object Reference
Joshua Keroes
joshua_keroes at eli.net
Sat Jul 20 03:14:04 CDT 2002
On (Sat, Jul 20 01:00), Joshua Keroes wrote:
> You're making things too hard on yourself. Just require the file.
>
> File: test.pl
>
> #!/usr/bin/perl -w
>
> use strict;
>
> our $VAR1;
> require "stored.pl";
> print $VAR1;
Whoops, this should really be:
File: test.pl
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
our $VAR1;
require "stored.pl";
print Dumper($VAR1);
Please remind yourself not to drink and reply to email. Think of
the children!
-Joshua
TIMTOWTDI
More information about the Pdx-pm-list
mailing list