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

Re^2: Converting Hashes to Objects

by haukex (Bishop)
on May 17, 2020 at 17:06 UTC ( #11116866=note: print w/replies, xml ) Need Help??

in reply to Re: Converting Hashes to Objects
in thread Converting Hashes to Objects

Definitely, and I actually use that a fair amount, and Hash::Util's functions were part of the inspiration for this. The advantage of this module is that it saves you two characters ;-) (they're a little slower to type on a German keyboard too...) One of the disadvantages is that method calls don't interpolate into strings.

(Hmmm, maybe I could to add a -lock option to additionally lock the hashref's keys, so the hash can be used safely in both ways... Update: Done!)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2020-09-19 00:47 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (114 votes). Check out past polls.