Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Program structure: subs vs modules vs Selfloader

by adamk (Chaplain)
on Jun 22, 2004 at 07:22 UTC ( #368634=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # In module
    package Foo;
    ...
    use Class::Autouse 'Foo';
    
    Foo->bar;
    
  2. or download this
    # The following two lines produce an identical result
    use Class::Autouse ':devel', 'Foo';
    
    # Is the same as
    use Foo ();
    
  3. or download this
    use Class::Autouse;
    Class::Autouse->load_recursive('Foo');
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2020-11-25 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?