Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-08-25 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (361 votes). Check out past polls.