opensourcer has asked for the wisdom of the Perl Monks concerning the following question:

hi monks is it possible get the data from a hashref or scalarref or filepointer, using something like below:
GLOB(0x1a4569c) HASH(0x1a45654) ...... ...... .....
im looking for ur repplies :D thankyou

Retitled by davido from 'ref'.

Replies are listed 'Best First'.
Re: Getting at the data from a stringified reference.
by gaal (Parson) on Jan 31, 2005 at 13:10 UTC
    You mean you have a "smashed" string and want to get back at your data? See Devel::Pointer, but be careful out there. It's generally much better design to keep a live reference around.
Re: Getting at the data from a stringified reference.
by Corion (Patriarch) on Jan 31, 2005 at 13:04 UTC