|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^2: Is it time for 'use stricter'?by xdg (Monsignor) |
| on Aug 25, 2005 at 10:36 UTC ( #486500=note: print w/ replies, xml ) | Need Help?? |
|
Yup -- that's the way to do it, I think. I wrote "source filter" in the original partly as it was the thing that occurred to me when the joke first came to me and partly to hint that I wasn't being serious. As people started saying "I wish that existed," I realized that to actually do it would need B (or, as diotalevi said, B::Lint) or PPI. And it should really be an external check -- or something easily turned off or commented out for production. You don't really want your CGI script to take 10 seconds to fire up because it's busy checking to see if you wrote q{} instead of ''. -xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Meditations
|
|
||||||||||||||||||||||