readdir is low-level
use Path::Tiny qw/ path /; for my $kid ( path( $dir )->children( qr/\.txt$/ ) ){ print "$kid\n" if -f $kid; }
In reply to Re^2: print last file updated into directory
by Anonymous Monk
in thread print last file updated into directory
by fabrizio_start_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |