in reply to remove files

Hi, quick snippet of code, that expands foreach so that you can see what is happening.
my @files = glob("myfile*.txt"); foreach my $file (@files) { print "FILE: $file \n"; unlink($file); }