Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: OO manner of accessing static variables in a subclass?

by Mr. Muskrat (Canon)
on Aug 10, 2016 at 19:57 UTC ( #1169521=note: print w/replies, xml ) Need Help??


in reply to Re^4: OO manner of accessing static variables in a subclass?
in thread OO manner of accessing static variables in a subclass?

You're not wanting the version of the object so you don't need a version method.

  • Comment on Re^5: OO manner of accessing static variables in a subclass?

Replies are listed 'Best First'.
Re^6: OO manner of accessing static variables in a subclass?
by choroba (Bishop) on Aug 10, 2016 at 20:01 UTC
    There are class methods, too ("static" in Java parlance).

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

      Thank you Mr. Muskrat, that's the distinction I was missing!

      choroba, thanks for that info. Is that something that you have a reference for? If it's not something that I *need* to incorporate, I can keep that on the back burner for further educational purposes.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1169521]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2018-05-24 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?