in reply to Re^2: Numeric as hash key returns undef...
in thread Numeric as hash key returns undef...
use Data::Dumper; $x{a} = "bare a"; $x{"a.b"} = "quoted a.b"; $x{a.b} = "unquoted a.b"; print Dumper(\%x);' __DATA__ $VAR1 = { 'ab' => 'unquoted a.b', 'a.b' => 'quoted a.b', 'a' => 'bare a' };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Numeric as hash key returns undef...
by diotalevi (Canon) on Oct 24, 2006 at 21:46 UTC |