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