Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How to get a placeholder to keep the current column value?

by BUU (Prior)
on Oct 26, 2003 at 20:17 UTC ( #302256=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sql='UPDATE table SET '.join',',map {"$_=".quote($hash{$_})} keys 
    +%hash;
    
  2. or download this
    UPDATE table SET phone='456'
    
  3. or download this
    map {"$_=".quote($hash{$_})} grep defined $hash{$_},keys %hash;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://302256]
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 2015-03-04 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (90 votes), past polls