There should be a cleaner version that doesn't need the grep, but with my split it gives some null fields.my @array = grep(!/^$/, split(/\s+|(:=)|([+-\/\\])/, $var));
In reply to Re: Splitting inside an array
by lemming
in thread Splitting inside an array
by DeusVult
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |