Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Reading from memory location

by Happy-the-monk (Abbot)
on Oct 31, 2012 at 07:20 UTC ( #1001615=note: print w/ replies, xml ) Need Help??


in reply to Reading from memory location

$VAR1 = 'HASH(0x81b2818)';

Try a backslash before the sigil: print Dumper \$string;

Cheers, Sören


Comment on Re: Reading from memory location
Replies are listed 'Best First'.
Re^2: Reading from memory location
by AnomalousMonk (Abbot) on Oct 31, 2012 at 20:58 UTC

    Actually trying it might have been a good idea.

    >perl -wMstrict -MData::Dumper -le "my $var = {A => 1}; my $string = qq{$var}; print Dumper \$string; " $VAR1 = \'HASH(0x3cc06c)';

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2015-07-30 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls