Should you need to the non-oneliner solution, you might want to try the following:
open (INFILE, "<myfile.txt"); open (OUTFILE, "<myfile.txt"); while (my $row = <INFILE>) { $row =~ s/~/\r/g; print OUTFILE $row; } close (INFILE); close (OUTFILE);
Michele.
In reply to Re: Search and Replace
by arthas
in thread Search and Replace
by mikevanhoff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |