Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: What's the best way to share code in different files?

by Util (Priest)
on Mar 26, 2002 at 22:48 UTC ( #154527=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # this is in file Common_Code.pm
    package Common_Code;
    ...
    
    1;
    
  2. or download this
    #!/usr/bin/perl
    use Common_Code;
    ...
    
    Common_Code::log_debug_message( $a1, $b2, $c3 );
    
  3. or download this
    DEBUG: I see red, blue, green.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://154527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2014-07-22 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (117 votes), past polls