|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: replace/substituion 4th fieldby tmharish (Friar) |
| on Feb 20, 2013 at 08:15 UTC ( #1019732=note: print w/ replies, xml ) | Need Help?? |
|
Considering you have already split up $line, why replace in the original? I would simply join @fields like so:
Update: Modified as per correction by jwkrahn below.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||