use Perl Log In
Warnings and Stricture
Ask any perl expert what's one of the first things they tell newbie perlers and invariably ``always put a "use strict;" at the top of your program and turn warning on'' is in the top 3. So why not make that the default and provide a simple command line option to turn them off?
In perl's early days only "experts" used perl, so the "don't warn" policy was correct as perlers either knew what they were doing or they knew enough to figure it out when things went wrong. But today, perl's user base is many orders of magnitude larger and the expertise of its users more varied. It seems to me that perl should adapt to these new conditions by helping the newbies while still apeasing the experts. I, for one, wouldn't mind warnings and stricture on by default as long as there was a simple method to turn them off.
What does the rest of the use Perl; community think?
I think no way until we get lexical warnings! Oh, wait