[Dbix-class] [OT][ANNOUNCE] SQL Generation with SQL::DB
Jason Kohles
email at jasonkohles.com
Thu Sep 6 18:05:21 GMT 2007
On Sep 6, 2007, at 12:24 PM, Matt Rosin wrote:
>>>> where => $lname->like('%son%') & ! ($age < 10 | $age > 20 )
>
> Just curious, could this work too? Or do subtle precedence
> differences wreck it?
>
> where, ( $lname->like('%son') and not ($age < 10 or $age > 20) )
>
Changing '&' to 'and' is more than a subtle precedence difference...
--
Jason Kohles
email at jasonkohles.com
http://www.jasonkohles.com/
"A witty saying proves nothing." -- Voltaire
More information about the DBIx-Class
mailing list