Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

See if a certain package has a certain sub, without executing that sub

by muba (Priest)
on Mar 20, 2004 at 15:03 UTC ( #338296=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Communications;
    
    ...
    sub ReceiveMessage {
        print "Communications::ReceiveMessage('$_[0]')\n";
    }
    
  2. or download this
    Use of uninitialized value in concatenation (.) or string at D:\device
    +\modem\internet\Xitami\cgi-bin\index.pl line 48.
    Communications::ReceiveMessage('')
    Communications::ReceiveMessage('Hello, World!')
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://338296]
Approved by gmax
Front-paged by cchampion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2016-06-28 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (360 votes). Check out past polls.