Re: Invalid Operating System

[prev] [thread] [next] [lurker] [Date index for 2006/12/17]

From: Martin Ebourne
Subject: Re: Invalid Operating System
Date: 11:13 on 17 Dec 2006
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.

There's stuff above here

Generated at 22:02 on 27 Dec 2006 by mariachi 0.52