Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Mr. Muskrat (Canon)
on Aug 10, 2016 at 19:57 UTC ( [id://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 (Cardinal) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1169521]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found