paulu has asked for the wisdom of the Perl Monks concerning the following question:
while ( my ($vid,$tvid) = $sth1->fetchrow_array() ) { $tvid =~ tr/ \`\~\!\@\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\|\;\:\'\"\,\<\ +.\>\?\\\//_/d; $sth2->execute($tvid,$vid) or die $DBI::errstr; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: All special character substitution and/or drop from column names.
by Fletch (Bishop) on Feb 24, 2005 at 13:47 UTC | |
by paulu (Initiate) on Feb 24, 2005 at 14:05 UTC | |
|
Re: All special character substitution and/or drop from column names.
by chb (Deacon) on Feb 24, 2005 at 13:54 UTC | |
|
Re: All special character substitution and/or drop from column names.
by dave_the_m (Monsignor) on Feb 24, 2005 at 14:14 UTC | |
by paulu (Initiate) on Feb 24, 2005 at 14:24 UTC | |
by dave_the_m (Monsignor) on Feb 24, 2005 at 15:38 UTC |