in reply to Need help
foreach my $file (glob "/tmp/somedir/file*.xml") { unlink $file or die "ERROR: Couldn't delete file '$file': $!"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Seekers of Perl Wisdom