Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: How to turn "HASH(0x1234567)" into a real HASH

by rodd (Scribe)
on Oct 13, 2017 at 17:00 UTC ( [id://1201331]=note: print w/replies, xml ) Need Help??


in reply to Re: How to turn "HASH(0x1234567)" into a real HASH
in thread How to turn "HASH(0x1234567)" into a real HASH

Thanks, that did it!

my $hash = bless(\(0+hex $addr), "B::AV")->object_2svref;

Replies are listed 'Best First'.
Re^3: How to turn "HASH(0x1234567)" into a real HASH
by LanX (Saint) on Oct 13, 2017 at 17:02 UTC
    You are aware about the risks?

    Strings have no ref count!

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-24 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found