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 ikegami (Pope)
on Nov 24, 2004 at 19:37 UTC ( #410229=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sql = '... WHERE 1=1';
    $sql .= ' AND ...' if (...);
    $sql .= ' AND ...' if (...);
    $sql .= ' AND ...' if (...);
    
  2. or download this
    if (0
       || ...
    ...
    ) {
      ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2016-05-28 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?