see perldoc -f import perldoc -f use and what happens when you use Some::Module (qw/somefunction1 somefunction2/) ;
Manav |-----Original Message----- |From: Ramprasad A Padmanabhan [mailto:[EMAIL PROTECTED] |Sent: Thursday, January 27, 2005 2:33 PM |To: perl beginners |Subject: using namespace | | |Is there anyway I can do a |using namespace for a particular loop like in c++; |( for functions not exported ) | |FOr eg in a perl script | | |use Some::Module |.... |{ | using namespace Some::Module; # Is this possible ? | | someFuntion1(); # Instead of Some::Module::someFunction1() | someFunction2(); # Instead of Some::Module::someFunction2() |} | |---------------------------------------- | |Thanks |Ram | | | | | |-- |To unsubscribe, e-mail: [EMAIL PROTECTED] |For additional commands, e-mail: [EMAIL PROTECTED] |<http://learn.perl.org/> <http://learn.perl.org/first-response> | | ********************************************************* Disclaimer: This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>