Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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: (14)
As of 2015-07-29 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls