in reply to Need Urgent help in perl

for my $file ( glob "$directory/*.gz" ) { ... }

- tye