[plug] Perl Question

Ryan ryan at is.as.geeky.as
Mon Mar 8 15:15:16 WST 2004


On Mon, 2004-03-08 at 15:07, Trevor Phillips wrote:
> Hopefully an easy question... If I have a string $foo, how can I nicely test 
> to see if the module name stored in $foo is used by this module/script, and 
> if it IS in use, how can I call a function "baa" in said module? (I don't 
> want to load $foo if it's not already loaded).

Some eval/require magic perhaps?

See middle of:  http://www.perldoc.com/perl5.8.0/pod/func/require.html

Ryan




More information about the plug mailing list