Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Having to specify $_

by mt2k (Hermit)
on Dec 09, 2002 at 03:01 UTC ( [id://218437]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $dbh = DBI->connect( ... );
    my $sth = $dbh->prepare ( ... );
    $sth->execute ( @placeholders );
    
    push @results, $_ while ($sth->fetchrow_hashref);
    
  2. or download this
    push @results, $_ while ($_ = $sth->fetchrow_hashref);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://218437]
Approved by dws
Front-paged by diotalevi
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-24 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found