Perl and SQL

Austin Godber plug-devel@lists.PLUG.phoenix.az.us
Tue Mar 25 05:07:02 2003


Hello Everyone,
	I am playing around with a little perl and SQL.  I am having trouble 
doing an insert into a text field when the text is large and nasty.  I 
am not sure how I can properly escape out the nasty characters.
	I have the text stored into a variable which I then use in my insert 
statement.  This works fine with smaller stuff of course but it seems 
like an awfully unpleasant way of inserting LARGISH text.  I am pretty 
new to both perl and SQL so I think I may be missing something (or do I 
have to escape out every reserved token before inserting?).

Austin