more useful options | |
PerlMonks |
Re^4: Why Perl Docs examples do not use strict and warnings oftenby LanX (Saint) |
on Nov 20, 2021 at 17:23 UTC ( [id://11138986]=note: print w/replies, xml ) | Need Help?? |
Please try to take it easier. :) We had many trolls recently, but IMHO this question regarding perldsc is legit. For example: Count how many times my is missing here
> > > Many of the examples also run fine in the absence of strict and warnings. And they still would with my declarations for all Perl 5 versions, even without 'use strict'.
updateBut they would fail for versions not supporting ->@* and ->#* , which makes the backwards compatibility argument even more dubious.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|