I think you want(?) this:
open my $fh,"<","textfile"; my @lines = <$fh>; close $fh; print join "|", @lines;
untested!
Cheers Rolf
In reply to Re: Read Text line by line & modify with a delimiter
by LanX
in thread Read Text line by line & modify with a delimiter
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |