Hi all, I have a module which does nothing but include a bunch of use statements (Shawn Corey, I think you taught me how to do that).It looks like this:
---------------------------------------------------------------------------------- #PerlMQ.pm use strict; use warnings; use statement1; use statement2; use statement3; #and so on... 1; _END_ -------------------------------------------------------------------------------- In my script, I load the module by saying "use PerlMQ;". However, now I want to load only certain use statements from the module depending on the parameter I give it. For example, in my script, I want to say "use PerlMQ qw(some_parameter)" in order to load the use statements specified by some_parameter in the module. Is it possible to do that? Most of the examples on the web seem to use the EXPORT package while providing the qw(some_parameter) functionality in the script. How do I do it in my module which seems pretty unconventional? Thanks Vishal ---------------------------------------- This mail sent through www.mywaterloo.ca -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>