in reply to Re^2: Creating HTML page
in thread Creating HTML page

So, declare each of them when you first use them with my...
my $outname = '...';


Unless I state otherwise, all my code runs with strict and warnings