Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Answer: How do I create static class variables (class data)?

( #8304=categorized answer: print w/ replies, xml ) Need Help??

Q&A > object-oriented programming > How do I create static class variables (class data)? contributed by chromatic

The new keyword our (introduced in Perl 5.6) provides a package scope for variables. It is demonstrated in perltootc.

Comment on Answer: How do I create static class variables (class data)?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2015-08-29 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (343 votes), past polls