in reply to Re^3: Basic list manipulation, and a bit of map() confusion...
in thread Basic list manipulation, and a bit of map() confusion...
Correct, the return value of s/// and tr[][] is the number of substitutions made. However you are not returning the return value of s/// or tr[][], you are returning either the value of $_ or the empty list ().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Basic list manipulation, and a bit of map() confusion...
by kyle (Abbot) on Feb 24, 2008 at 23:00 UTC |