# from Nicholas Clark # on Wednesday 10 September 2008 08:25: >> Problem is, the shebang line doesn???t actually *do* anything. >> >> The correct solution (which also doesn???t require changes to >> CPANTS) is called warnings::compat. Assuming you actually care >> that much??? > >I don't agree. I'm with Paul. Why should I add a dependency to correct >code to placate the CPANTS game? Particularly as warnings::compat > *can't* do everything the warnings pragma can do, so by changing to > use it I might be adding bugs.
# from David Golden on Wednesday 10 September 2008 07:08: >Assuming I don't mind adding a dependency that is only needed for perl >< 5.6. Or customizing my *.PL to only add the dependency on perl < >5.6. All for a version of Perl I no longer care about since Schwern >declared it dead. Yes. Please let's not start cutting the ends off of the ham just so we can get mom's old pan out of the attic. I don't particularly want to have to explain to anyone why some .pm files have a shebang line several years from now. If CPANTS can find the -w in the tests or whatever and the META.yml says 5.6... (Because enabling warnings in *everyone else's* code is a good way to placate a static kwalitee scanner?) I give up. And if warnings::compat actually works on 5.6, why not just call it warnings.pm when you install it there? Thanks, Eric -- "Politics is not a bad profession. If you succeed there are many rewards, if you disgrace yourself you can always write a book." --Ronald Reagan --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------