you call twice w/o parameters so $_[0] is undef and undef*2 == 0!
take again a look at my "add"-example to distiguish between parameters and iteration value
Cheers Rolf
In reply to Re^3: Problems with map(function, array)
by LanX
in thread Problems with map(function, array)
by Redei
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |