Subject: | <pre></pre> output even when disabled |
Syntax::Highlighter::Shell->new(pre=>0);
...
still outputs <pre>...</pre> tags. on closer inspection the constructor argument handline tests settting of arguments based on their truth status rather than if they are defined. it would be better to do:
$self->{myslot} = $arg{myslot} if defined($arg{myslot});
than:
$self->{myslot} = $arg{myslot} if $arg{myslot};
looking forward to seeing this module in action!