>>>>> "Dan" == Dan Muey <[EMAIL PROTECTED]> writes:
Dan> What I'm trying to figure out is how to pass an argument Dan> (pragma I believe is the proper term) to use() and do Dan> sonethign in the package based on it. $ perldoc -f use [...] Imports some semantics into the current package from the named module, generally by aliasing certain subroutine or variable names into your package. It is exactly equivalent to BEGIN { require Module; import Module LIST; } except that Module *must* be a bareword. Therefore, it's calling a class method in your module called "import". Create your own import method, instead of inheriting Exporter's import, and you're all set. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>