in reply to Re: Problem to store referrence as key value in a hash
in thread Problem to store referrence as key value in a hash

Output:
SCALAR(0x814f5c4) => 10

Err, whatever. Now multiply SCALAR(0x814f5c4) by 2 and tell me the result is 20 :)

• another intruder with the mooring in the heart of the Perl

  • Comment on Re^2: Problem to store referrence as key value in a hash

Replies are listed 'Best First'.
Re^3: Problem to store referrence as key value in a hash
by poolpi (Hermit) on Jan 11, 2008 at 20:36 UTC
    No but :
    print pack('h', 0x814f5c4)
    will give you a nice smiling face ☺
    { use charnames ':full'; my $smiling_face = "\N{WHITE SMILING FACE}"; }
    Tested under XP and the latest Cygwin

    PooLpi ;)