Here is how I extract the serial number from the filename:
use File::Find; my $dir = "documents"; find( sub { my $filename = $_; return unless ( $filename =~ /abstract-([0-9][0-9][0-9]).tex/ && -f $filename ); my $serialnumber = $1 ;
In reply to Re^2: multiple-pass search?
by propellerhat
in thread multiple-pass search?
by propellerhat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |