Just because I'm mildly annoyed at the width of your code, how about, instead of reading from the DATA file handle you do something like this:
BTW, you may want to use /s on your pattern so that . matches any character since we don't know the exact contents of the OP's strings.my $line = '1234567890' x 20;
cheers,
In reply to Re^2: spliting text!!
by duff
in thread spliting text!!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |