Unfortunatley, No luck, any advice on what I've done wrong?use strict; foreach $file (@NetIncludeDir) { ($network, $path) = $file =~ m<^( (?:\+ \w+){2} )(.*)>x; print "Network: $network, Path: $path\n"; }
In reply to regular expression help by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |