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

[perl #133069] Global variables in Exporter examples

Thread Next
Dan Book
April 6, 2018 03:34
[perl #133069] Global variables in Exporter examples
Message ID:
# New Ticket Created by  Dan Book 
# Please include the string:  [perl #133069]
# in the subject line of all future correspondence about this issue. 
# <URL: >

The docs for Exporter ( include several
examples using global variables. These should be declared with 'our' where
appropriate to make the examples strict-safe. Right now this detail is
hidden under the "Good Practices" section but it should be applied to each
example the user sees directly -- remember that newbies are likely to stop
reading once they have copy-pasted something that "works".


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