Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Why Perl Docs examples do not use strict and warnings often

by LanX (Saint)
on Nov 20, 2021 at 13:39 UTC ( [id://11138975]=note: print w/replies, xml ) Need Help??


in reply to Why Perl Docs examples do not use strict and warnings often

Hi

yes you are right, and I noticed it too. It's annoying, especially when teaching Perl.

The reason is - like so often with Perl - legacy.

There are also other cases like bareword filehandles.

I suppose some docs have already been written in Perl4 times.

IMHO perldsc and some other perldocs need to be proofread and updated.

I'm glad that perlintro is pretty clean, though.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found