push(@last, $1) && last if /(\w+)\.bld$/; #or if you want 'three.bld' in the push: push(@last, $1) && last if /(\w+\.bld)$/;
In reply to Re: Problem with pattern match
by ichimunki
in thread Problem with pattern match
by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |