[Melbourne-pm] Pls explain?

wigs at stirfried.org wigs at stirfried.org
Wed Oct 24 16:14:45 PDT 2007


On Wed, Oct 24, 2007 at 11:33:33AM +1000, Jacinta Richardson wrote:
> It was covered in the "This Week on p5p 2000/05/21"
> (http://www.perl.com/pub/a/2000/05/p5pdigest/THISWEEK-20000521.html#my_x_if_0;_Trick)
> 
> Apparently Perl 5.10 throws a big fat warning if it sees this kind of behaviour.

Also, the perlcritic policy
Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations will also pick
up on instances of this in your source code.

-- 
Aaron


More information about the Melbourne-pm mailing list