Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: store module names in an array

by kyle (Abbot)
on Oct 27, 2009 at 03:34 UTC ( #803372=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $dbh ( @dbf ) {
        die $@ if ! eval "use $dbf; 1";
    }
    
  2. or download this
    BEGIN {
        my @dbf = ...;
    ...
            $dbf->import();
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2016-02-08 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (286 votes), past polls