My first line prints ok, but all following lines are indented by one space$xline=$_; chomp($xline); @xline = split (/(?<=\.)/, $xline); foreach(@xline){ print "$_\n"; }
This is my first line. This is my second line. This is my third line.
In reply to Perl Split by Gavin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |