P is for Practical | |
PerlMonks |
Re: Removing chars from a word from an arrayby ikegami (Patriarch) |
on Jan 24, 2006 at 14:55 UTC ( [id://525191]=note: print w/replies, xml ) | Need Help?? |
Or take advantage of the fact that foreach aliases the counter variable to the actual element of the list with the following: That can also be written as
Update: Due to distractions, I incorrectly read the OP's question.
In Section
Seekers of Perl Wisdom
|
|