Rahul Sharma wrote at Fri, 09 Aug 2002 10:37:14 +0200:

> I want to "use" a module whose filename is into some variable.
> 
> For e.g.
> 
> use $filename;   # $filename contains the modulename that is to be imported.

>From perldoc -f use

It is exactly equivalent to

   BEGIN { require Module; import Module LIST; }

except that Module must be a bareword.



Cheerio,
Janek


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to