develooper Front page | perl.perl5.porters | Postings from April 2018

Documentation improvement

Thread Next
April 12, 2018 14:33
Documentation improvement
Message ID:

It is a bit ambiguous where pragma is limited:

On the `warnings` [page](

>This means that the scope of the warning pragma is limited to the enclosing block

but on the `strict` [page](

>The effect of this pragma is limited to the current file or scope block

And after reading `my` [page]( it is more ambiguous about limitation for pragma:

>A my declares the listed variables to be local (lexically) to the enclosing block, file, or eval

if pragma is limited to 'eval' too it should be explicitly documented on corresponding pages

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About