Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Errors in Code

by boo_radley (Parson)
on Apr 15, 2003 at 22:44 UTC ( [id://250718]=note: print w/replies, xml ) Need Help??


in reply to Errors in Code

$COMNTS=~s/\'/''/g; $ADR_L1=~s/\'/''/g; $ADR_L2=~s/\'/''/g; $ADR_L3=~s/\'/''/g;
Original question aside (Enlil seems to be on track), why aren't you using DBI's quote methods? Also, maybe consider using a hash for all these fields, something like
foreach (qw(CLIENT RECORD CONTROL ...)) { $hash{$_} =$data[$idx++]; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found