Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: OOP's setter/getter method - is there a way to avoid them?

by Arunbear (Prior)
on Oct 28, 2015 at 11:19 UTC ( [id://1146250]=note: print w/replies, xml ) Need Help??


in reply to Re: OOP's setter/getter method - is there a way to avoid them?
in thread OOP's setter/getter method - is there a way to avoid them?

The author of Alter also wrote Hash::Util::FieldHash which is a core module and has a similar goal to Alter.
  • Comment on Re^2: OOP's setter/getter method - is there a way to avoid them?

Replies are listed 'Best First'.
Re^3: OOP's setter/getter method - is there a way to avoid them?
by shmem (Chancellor) on Oct 28, 2015 at 14:27 UTC

    oh. I wasn't aware that Alter had indeed been added to the perl core, under another name. And it's in there since 5.10! Yay! Thanks for the hint, Arunbear!

    (hint to $self: take the time to read perldeltas!)

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

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

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

    No recent polls found