Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Bundling commonly-used modules into a toolset

by xdg (Monsignor)
on Oct 25, 2005 at 10:37 UTC ( #502654=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use My::Tools;
    
    # turns strict on
    # turns warnings on
    # makes all my usual imports available
    
  2. or download this
    package My::Tools;
    
    ...
    );
    
    1; # return true
    
  3. or download this
    use My::Tools;
    
    $var = 1;   # causes a compile error because we're using strict
    
  4. or download this
    # simple example of strict contagion
    sub import {
        require strict;
        strict->import;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2020-06-05 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?