in reply to Re: print last file updated into directory
in thread print last file updated into directory
readdir is low-level
use Path::Tiny qw/ path /; for my $kid ( path( $dir )->children( qr/\.txt$/ ) ){ print "$kid\n" if -f $kid; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: print last file updated into directory
by perlron (Pilgrim) on Oct 31, 2014 at 03:55 UTC | |
by Anonymous Monk on Oct 31, 2014 at 08:33 UTC | |
by perlron (Pilgrim) on Oct 31, 2014 at 10:16 UTC | |
by marto (Cardinal) on Oct 31, 2014 at 10:39 UTC | |
by perlron (Pilgrim) on Oct 31, 2014 at 10:40 UTC | |
by Anonymous Monk on Oct 31, 2014 at 11:28 UTC |