Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: standard perl module and BEGIN block. (less)

by tye (Sage)
on Aug 16, 2004 at 20:28 UTC ( [id://383447]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package My::Package;
    use strict;
    ...
    
    # If you inherit from some other module (use sparingly):
    #use base qw( ... );
    
  2. or download this
    package My::Package;
    use strict;
    ...
        $VERSION = 0.01;
        @ISA = qw( ... );
    }
    
  3. or download this
    package My::Module;
    use strict;
    ...
        require Exporter;
        *import = \&Exporter::import;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-16 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found