Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Why will this not print one?--- Foo.pm --- package Foo; use strict; use vars qw(@ISA @EXPORT @EXPORT_OK); require Exporter; my $z = 1; @ISA = qw(Exporter); @EXPORT_OK = qw ($z); 1; --- test.pl --- use Foo qw(z); print $z;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Exporter usage?
by Aristotle (Chancellor) on Sep 02, 2002 at 03:43 UTC | |
by Anonymous Monk on Sep 02, 2002 at 03:56 UTC | |
by theorbtwo (Prior) on Sep 02, 2002 at 04:03 UTC | |
by Anonymous Monk on Sep 02, 2002 at 04:08 UTC | |
by theorbtwo (Prior) on Sep 02, 2002 at 04:16 UTC | |
|