You forgot to print the header before printing the document, try it at the console first and if it works without calling it with "perl file", add the next line, perhaps you didn't have the LWP, you can download it from
CPAN, and install it, at least at your home and refer to it with use lib 'path':
print "Content-type:text/html\n\n";
before printing the page. Did you think of saving the pages in files ?
$anarion=\$anarion;
s==q^QBY_^=,$_^=$[x7,print