Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: if/else options

by dsheroh (Monsignor)
on Aug 21, 2009 at 11:41 UTC ( #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
Node Status?
node history
Node Type: note [id://790335]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-10-22 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (230 votes). Check out past polls.

    Notices?