in reply to remove files
my @files = glob("myfile*.txt"); foreach my $file (@files) { print "FILE: $file \n"; unlink($file); } [download]