in reply to
Beginner question about files deletion
What about filtering the files with grep?
unlink grep ! /\.zip$/, glob 'a/b/*';
[download]
(Untested.)
Comment on
Re: Beginner question about files deletion
Download
Code
In Section
Seekers of Perl Wisdom