in reply to Regex Database Question

are you using placeholders with DBI ? That provides a great deal of additional security and proper casting of values (and more legible code usually).
$dbh->do("INSERT INTO foo (bar, stuff) VALUES (?,?)", $bar, $stuff);
As for regex, take a look at perlre and perlretut

Replies are listed 'Best First'.
Re^2: Regex Database Question
by bkiahg (Pilgrim) on May 31, 2006 at 17:02 UTC
    Ah thank you for pointing out that error in my thought process. Much cleaner and more secure. Will do it this way.