Note that int operates on $_ by default, the above is equivalent to map { int($_) }my ( $y, $m, $d ) = map { int } split /-/, '2006-04-03.14159';
In reply to Re: list comprehension
by duckyd
in thread list comprehension
by nmerriweather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |