It splits on whitespace or on a boundry where there's a digit followed by a dash.my @cols = split /\s+|(?<=\d)(?=\-)/;
-b
In reply to Re: Split on whitespace or other criteria
by bgreenlee
in thread Split on whitespace or other criteria
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |