Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and in otherfile.pl I haverequire 'otherfile.pl';
require Exporter; my @p = blabla; our @EXPORT_OK = (@p);
I'm expecting to be able to use the same @p in somefile.pl but it seems I can't.
how can I make this work the dirty dirty quick quick way ?
thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: importing arrays from other module
by Corion (Patriarch) on May 12, 2010 at 08:04 UTC | |
|
Re: importing arrays from other module
by JavaFan (Canon) on May 12, 2010 at 09:45 UTC | |
|
Re: importing arrays from other module
by Anonymous Monk on May 12, 2010 at 08:04 UTC | |
by Corion (Patriarch) on May 12, 2010 at 08:17 UTC |