Created
August 24, 2009 15:53
-
-
Save rbuels/173934 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### instead of | |
my $statement = "SELECT name FROM public.wiki WHERE name='$name'"; | |
#print "$statement\n"; | |
next if my $arr_ref = $dbh->selectrow_arrayref($statement); | |
####### can do | |
next if $dbh->selectrow_arrayref(<<EOQ,undef,$name); | |
SELECT name | |
FROM public.wiki | |
WHERE name = ? | |
EOQ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment