We don't bite newbies here... much | |
PerlMonks |
Re^2: Qualified package variable accessby haukex (Archbishop) |
on Dec 17, 2020 at 18:47 UTC ( [id://11125359]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|