in reply to Exporting Curl content to html
my $contents = $1; [download]
use open IO => ":raw"; [download]