... will print out the one you want, but also leave you with an array with all the others in it as well.my $s = 'sbs/c/b/cow.bld:three.bld'; my @a = $s =~ /(\w+\.bld)/g; print $a[$#a];
In reply to Re: Problem with pattern match
by George_Sherston
in thread Problem with pattern match
by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |