in reply to Re^2: Perl or SQL ?
in thread Perl or SQL ?
I've simplified the regex I really need to use to demonstrate what I was attempting to do.$sth=$dbh->prepare("@sqlcmd"); $sth->execute; while (($data) = $sth->fetchrow) { if($data =~ /create/) { print "$data\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl or SQL ?
by Anonymous Monk on Dec 21, 2005 at 10:44 UTC |