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 PROTECTED]
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire



_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to