Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Bundling commonly-used modules into a toolset

by xdg (Monsignor)
on Oct 25, 2005 at 10:37 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found