in reply to Data to hash via map problem
But if you have a lot of clips I should warn you that the foreach loop will be a lot faster than map with current Perls. (This is a bug that should be fixed in the next release.)my %clipNames = map {(split /,/, $_)[0,1]} @clips;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re (tilly) 1: Data to hash via map problem
by merlyn (Sage) on Sep 06, 2000 at 18:26 UTC | |
by tye (Sage) on Sep 06, 2000 at 19:23 UTC | |
by merlyn (Sage) on Sep 06, 2000 at 21:42 UTC | |
by tilly (Archbishop) on Sep 06, 2000 at 19:45 UTC |