Try:
my @shellheredoc = <STDIN>; [download]
PS. Don't forget to chomp if required.
In reply to Re: use of << on comand line by hippo in thread use of << on comand line by cweeble