Perl and SQL

Victor Odhner plug-devel@lists.PLUG.phoenix.az.us
Mon Apr 7 21:13:02 2003


David A. Sinck wrote:
> my $sql = 'insert into something (autoinc, textcolumn) values (0, ?)';
> $sth->execute($nasty_raw_unclean_user_input);  # see 'Placeholder and 
> Bind Values' in the DBI man page

Thanks, David.  I didn't realize quite how big or how nasty
Austin's "text" was going to be, hence my la-de-da answer.
The above is a valuable addition to my DBI knowledge.

Thanks again,

Vic