There is perl's glob, or else there is File::Find.
With glob,
open CONF, '/path/to/.config' or die $!; while (<CONF>) { my ($fglub, %mto) = split; for (glob $fglub) { -M < $mto and next; # do stuff to an out of date file } } close CONF or die $!;
After Compline,
Zaxo
In reply to Re: Parsing directory glob in config file.
by Zaxo
in thread parsing directory glob in config file
by gnu@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |