>> #!/usr/bin/perl >> use Text::CSV; >> use DBI; >> use Data::Dumper; > > There is no "use strict;" and "use warnings;" at the beginning of the file:
I see this quite a bit on this list (and elsewhere) and I think it's very good advice, so this morning I got to thinking. If these pragmas are as important as they are, why is it that they aren't turned on in Perl by default? How about if we make them the default settings in 5.16 and then add "use nostrict;" and "use nowarnings;" for when someone wants to turn them off? In the grand scheme of things I'm still relatively new to all this, but it makes total sense to me. If they should be used in most every script, why waste the time and thought of always having to remember (or remind others) to add them? Thoughts? Marc -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/