That said, you could probably find the directory you want sorta like this:
my $n = 12345; my $qdir; for (glob "/some/dir/Quote.${n}*") { if (-d $_) { $qdir = $_; last; } # check that it's a directory } die "Can't find quote directory" unless $qdir;
In reply to Re: Searching for directory with partial name
by gamache
in thread Searching for directory with partial name
by jsons
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |