Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Pearls (not really) of Perl programming

by Mr. Muskrat (Canon)
on Dec 04, 2004 at 04:05 UTC ( #412344=note: print w/replies, xml ) Need Help??


in reply to Re: Pearls (not really) of Perl programming
in thread Pearls (not really) of Perl programming

I could probably write a book on the subject of the OP but I'll stick to just one DBI example.

my $dbh = DBI->connect($database, $user, $password) or die $dbh->errstr;

When I found it, I decided to grep for it. It was being used in every script that pulled from the database!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2017-05-26 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?