On 17/12/06, H.Merijn Brand <[email protected]> wrote:
my $sth = $dbh->prepare (qq; select foo, bar from baz where duh = ?; );Now you can cut-n-paste the statement and run in SQL :) And it reads nice too
That's a little hacky for my tastes.
my $sth = $dbh->prepare(<<'END_SQL');
select foo, bar
from baz
where duh = ?;
END_SQL
--
Earle Martin
http://downlode.org/
http://purl.org/net/earlemartin/
