my $STOP_AFTER_MATCH = 2; (undef, undef, my $dir) = split /\\/, $0, $STOP_AFTER_MATCH + 1;
In reply to Re: Perl match to cut off after second occurrence
by happy.barney
in thread Perl match to cut off after second occurrence
by shadowfox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |