powerman has asked for the wisdom of the Perl Monks concerning the following question:
output:$qqq = undef(); $www = undef(); $qqq->{qwe} = 123; printf "'%s' '%s' '%s' '%s'\n", $qqq, $www, $qqq->{qwe}, $www->{qwe}; $eee = ''; $rrr = ''; $eee->{asd} = 456; printf "'%s' '%s' '%s' '%s'\n", $eee, $rrr, $eee->{asd}, $rrr->{asd}; $ttt = 'Test'; $yyy = 'Test'; $ttt->{zxc} = 789; printf "'%s' '%s' '%s' '%s'\n", $ttt, $yyy, $ttt->{zxc}, $yyy->{zxc};
'HASH(0x81551c8)' 'HASH(0x81552d0)' '123' '' '' '' '456' '456' 'Test' 'Test' '789' '789'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: string as ref ?!?!
by Abigail-II (Bishop) on May 10, 2004 at 10:44 UTC | |
by powerman (Friar) on May 10, 2004 at 11:00 UTC | |
by Abigail-II (Bishop) on May 10, 2004 at 11:12 UTC | |
by hardburn (Abbot) on May 10, 2004 at 19:52 UTC | |
|
Re: string as ref ?!?!
by Hena (Friar) on May 10, 2004 at 10:46 UTC | |
by Abigail-II (Bishop) on May 10, 2004 at 11:18 UTC | |
by dave_the_m (Monsignor) on May 10, 2004 at 11:03 UTC |