"I have decided I love map and want to use it for everything."
map() builds and returns a list. (Or, in scalar context, the number of elements in the list constructed.)
Don't use map() unless you intend to make use of the list returned. (Or the scalar containing the number of elements.)
Update: As Juerd points out, map() returns a list or the number of scalars in the list. Not an array as I initially stated.
In reply to Re: map hash instead of map array
by Biker
in thread map hash instead of map array
by hakkr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |