in reply to [Solved] How does map work?
Eg by changing while to for (another bug in your code btw is to think that while automatically sets $_)
Im pretty sure HOP already shows how to emulate map! Sorry no code am typing on my mobile... :-)
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How does map work?
by three18ti (Monk) on Oct 26, 2013 at 20:36 UTC | |
by LanX (Saint) on Oct 26, 2013 at 21:57 UTC | |
by muba (Priest) on Oct 28, 2013 at 18:31 UTC |