in reply to displaying html file in the browser using perl

Use HTML::Display
use HTML::Display; use File::Slurp qw/read_file/; my $html =read_file('xx.html'); display($html);