Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

RE: Module Usage

by Anonymous Monk
on Oct 15, 2000 at 11:17 UTC ( #36797=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( $i_need_a_dynamically_loaded_module )
    {
        eval "require Module";
        $@ && warn $@;
    }
    
  2. or download this
    my $loaded_mod;
    foreach my $mod ( qw( Module1 Module2 Module3 ) )
    ...
    $loaded_mod or die "Couldn't load anything useful...";
    
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://36797]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-02-22 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (335 votes). Check out past polls.