Could probably be replaced with...@pieces = split(/ /, $tmp); #Split-up the entire line... $newjob = $pieces[0]." "."JF".$pieces[1]." ".$pieces[2]. " ".$pieces[3]."\n"; $temp = $newjob;
$tmp =~ s/^([^ ]+\s+)/$1JF/;
In reply to Re: Text Processing
by Sifmole
in thread Text Processing
by Ixandantilus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |