Solution is simple, don't use readdir ;) use Path::Tiny qw/ path /; for my $kid ( path( $dir )->children( qr/\.html$/ ) ){ ...
In reply to Re: read and write file in directory
by Anonymous Monk
in thread read and write file in directory
by codewalker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |