Try it with
$_=shift @ARGV; [download]
In reply to Re: Usage of Shift function in PERL by matija in thread Usage of Shift function in PERL by nallasiv