ormy ($numbers) = $file =~ m/(\d{3})$/;
The latter is much faster then the former, but personal preference may dictate which you decide to use.my $numbers = substr ($file, -3, 3);
In reply to Re: parse filenames
by trs80
in thread parse filenames
by esolm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |