in reply to Defining an anonymous hash with slices and lists.
print ${+do{@{$_={}}{1..3}=qw[one two three];$_}}{2};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Defining an anonymous hash with slices and lists. (It is possible!)
by CombatSquirrel (Hermit) on Aug 27, 2003 at 23:39 UTC |