You need to put that in quotes:
unlink glob "$_/*.*"; [download]
In reply to Re: Appending /*.* to default Perl variable $_ by jwkrahn in thread Appending /*.* to default Perl variable $_ by geertvc