[CDBI] Updating data automatically after a search (trigger)

Matt S Trout dbix-class at trout.me.uk
Wed Feb 1 21:28:02 GMT 2006


On Wed, Feb 01, 2006 at 02:35:36PM -0500, Perrin Harkins wrote:
> > In perldelta for perl v5.9.1:
> > 
> >     A new deprecation warning, Deprecated use of my() in false
> >     conditional, has been added, to warn against the use of the dubious
> >     and deprecated construct
> 
> I am so happy to see this!  Fantastic!
> 
> Anyway, this one is so slippery that I think the only way to stay sane
> is to NEVER declare a lexical with a postfix if statement.  Picking out
> the ones where it breaks from the ones where it doesn't takes more spare
> brainpower than I have.

Hear! Hear!

(braces for the avalanche of e-mails finding places I've absent-mindedly
used it in public code :)

-- 
     Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +




More information about the ClassDBI mailing list