On Feb 4, Dan Muey said: ># for old time's sake we'll just use our favorite module >use Foo::Monkey qw(:Foo :Bar -doamazingthings);
Well, depending on what you want to do with the arguments, you might want to use the Exporter module to handle exporting functions, variables, etc. perldoc perlmod (look for "Perl Modules") perldoc Exporter When you say use Module qw( args go here ); this is translated into BEGIN { require Module; Module->import(qw( args go here )); } Thus, you need an 'import' method in Module::. package Module; sub import { my $class = shift; print "You gave me (@_)\n"; } It's up to you to do something with @_. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>