in reply to An alternate way of implementing import with options
in thread Passing parameters to a module's import function
for (@_) { if (ref($_) eq "HASH") { push @options, $_; } else { push @exports, $_; } }
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Back where we started
by tilly (Archbishop) on Feb 13, 2001 at 21:48 UTC |