On Sun, 2006-12-17 at 11:26 +0100, H.Merijn Brand wrote:
> No. Very handy.
> 
> 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

This is exactly the sort of thing that makes me want to loathe perl.

I can just imagine the scary code some plonker would write if you could
override the ; operator in C++. Shudder.

Cheers,

Martin.

PS. Doesn't work for sybase anyway, but that's probably a sybase hate
really.

Reply via email to