This obviously isn't the way you want to leave the final code but it is better to having something that works that you are unhappy with then something that doesn't work at all. You can always improve.my @matches = grep { $_ !~ /(\&\&|\|\|)/ } split /(\&\&|\|\|)/, $str;
Cheers - L~R
In reply to Re: split with separators but dont include in the array
by Limbic~Region
in thread split with separators but dont include in the array
by anniyan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |