in reply to Re^3: Group by from array
in thread Group by from array
That's a Hash Slice
Here a little compilation with more usage examples I found in a blog: Perl 5: Hash slices can replace loops
NB: the my %hash; doesn't need to be in the same line!!!
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|