Re: [PATCH] - Stop mason from triggering a deprecation warning on 5.12

Jesse Vincent <[email protected]> Fri, 2 Apr 2010 13:36:22 -0400
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>


On Fri, Apr 02, 2010 at 10:26:09AM -0700, Jonathan Swartz wrote:
> Hi Jesse --
> 
> Thanks for the heads up. We'll do a release this weekend.

Not a problem. I'm sorry I didn't get this out sooner. I've been so
wrapped up in the release that I missed issues in my own apps :/

There's actually a similar need for a 'no warnings once' in set_global
in Interp.pm.  Line 652 has a "no strict 'refs';"  - You also need a
"no warnings 'once'" there.

I'm seeing a lot of:

'Name "HTML::Mason::Commands::r" used only once: possible typo at /usr/local/lib/perl5/site_perl/5.12.0/HTML/Mason/Interp.pm line 653.'

Thanks!

Jesse

> Jon

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev