Try my @outputlist = split /-|\//, $myint;
Update: Consider also @outputlist = map {[split /-|\//]} @intf_list;
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: Splitting 2 different patterns
by karlgoethebier
in thread Splitting 2 different patterns
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |