|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: How to call a function on each item after a split?by aaron_baugher (Chaplain) |
| on Oct 09, 2012 at 03:41 UTC ( #997914=note: print w/ replies, xml ) | Need Help?? |
|
You could change your clean sub so it takes an array and returns an array. Then you can 'pipe' your data through it:
Aaron B.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||