Or this:
Output:chomp( my @names = <DATA> ); $" = "|"; print "@names"; __DATA__ Matei Janov rebas yoni
In reply to Re: Read Text line by line & modify with a delimiter
by 2teez
in thread Read Text line by line & modify with a delimiter
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |