jacques has asked for the wisdom of the Perl Monks concerning the following question:
I am designing a module whose behavior is dictated by the import list. But I want the import list to act just like @ARGV. Here's an example of what I want:
use Some::Module ("http://www.perlmonks.org");
In the example above, I want to capture the URL to use as I please within the module. I know that this isn't what the import list is for, but I would like it to behave in this fashion. How would I do this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading and capturing the import list
by sauoq (Abbot) on Jul 03, 2003 at 04:23 UTC | |
by PodMaster (Abbot) on Jul 03, 2003 at 05:54 UTC | |
by jacques (Priest) on Jul 03, 2003 at 04:27 UTC | |
by sauoq (Abbot) on Jul 03, 2003 at 04:35 UTC | |
|
Re: Reading and capturing the import list
by bobn (Chaplain) on Jul 03, 2003 at 06:04 UTC | |
by chromatic (Archbishop) on Jul 03, 2003 at 17:28 UTC |