Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Qualified package variable access

by haukex (Archbishop)
on Dec 17, 2020 at 18:47 UTC ( [id://11125359]=note: print w/replies, xml ) Need Help??


in reply to Re: Qualified package variable access
in thread Qualified package variable access

that's the first time I've used 'our' as far as I recall. My very well thumbed O'Reilly camel book (2nd edition 1996!) doesn't actually mention it!

our was added in Perl 5.6, released in March 2000. Before that, one of the ways "predeclare" package variables was the vars pragma. You might be interested in the 4th edition Camel, or Modern Perl.

  • Comment on Re^2: Qualified package variable access

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-20 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found