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

open HTML, '>', $outname || die "Couldn't create '$outname': $!";

Looks like you're falling over a problem with operator precedence. Be very careful. || does not have the same precendence as "or".

--

See the Copyright notice on my home node.

"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg