Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: if/else options

by dsheroh (Monsignor)
on Aug 21, 2009 at 11:41 UTC ( [id://790335]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @where;
    my @values;
    ...
    
    my $sth = $dbh->prepare_cached($sql);
    $sth->execute(@values);
    
  2. or download this
    my @values = (undef, $var1, $var2, $var3);
    my @where;
    ...
    
    my $sth = $dbh->prepare_cached($sql);
    $sth->execute(@defined_values);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-16 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found