develooper Front page | perl.perl5.porters | Postings from January 2011

Re: [PATCH 2/3] modernise package variable style

Thread Previous | Thread Next
Tom Christiansen
January 31, 2011 04:29
Re: [PATCH 2/3] modernise package variable style
Message ID:
Eric Brine Wrote:

> <<our>> should be ok for <<$_SIGRTMIN>>, <<$_SIGRTMAX>> and
> <<$_sigrtn>> since they're internal variables. (Could maybe
> even use <<my>>?)

You can't change something from a global to a private between releases, 
or you're changing the interface.  Anything in the package namespace is
de-facto fair game, and to remove something from there risks breaking old
programs that have been using the globals without your knowledge.  Yes, of
course good judgement says to access only those things that are part of the
documented interface, but there is no language-imposed barrier to people
having done otherwise.  One simply cannot know.


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