http://www.perlmonks.org?node_id=844347


in reply to Re: dereferencing a stringfied referent
in thread dereferencing a stringfied referent

Hi,

I'm working with a SIG{__WARN__} and I'm calling Carp::Longmess. By default, I'm getting those lovely stringified referents which I want. But I also need to get the data structures those stringified referents dereference to.

I suppose I could get Carp::Longmess to expand out the un blessed data structures then capture them via "regex", but I was hoping that there was a cleaner way.