in reply to importing from variable packages
No need to bless $my_package, simply slightly reorder your code.
$my_package->import(qw/some_routine/);
Note that the first parameter that import gets will be the string that's in $my_package.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: importing from variable packages
by dash2 (Hermit) on Mar 14, 2001 at 23:22 UTC | |
by tye (Sage) on Mar 15, 2001 at 03:53 UTC |