On Wed, 23 Mar 2005, Roberts Mr Richard L wrote:
> My superior and I are debating where 'use strict/warnings' should be
> placed: prior to any use module statement or after? Anyone?
It doesn't really matter a whole lot if the modules are well behaved.
But then, that's not necessarily a good assumption.
I say it should go at the top, but not because it should be over the
module declarations, but because having something like
#!/usr/bin/perl
use strict;
use warnings;
should just reflexively be the first lines of *every* script, to the
point that having your editor do this for you automatically would be
a very good thing, provided that your editor supports such macros.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>