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?In reply to Reading and capturing the import list by jacques
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |