in reply to Inconsistent captures in %+ and %-
All accounted for: $VAR1 = { 'one' => [ '1' ], 'twelve' => [ '12' ], 'two' => [ '2' ] }; Here too: $VAR1 = [ '12', '1', '2' ]; Where are one and two? $VAR1 = { 'one' => '1', 'twelve' => '12', 'two' => '2' };
What version of perl are you using? I'm on v5.10.1, MSWin32-x86-multi-thread.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inconsistent captures in %+ and %-
by eff_i_g (Curate) on Oct 22, 2010 at 20:26 UTC | |
by toolic (Bishop) on Oct 22, 2010 at 20:29 UTC | |
by JavaFan (Canon) on Oct 22, 2010 at 23:30 UTC |