Subject: | Debian::Control barfs on comments |
Debian::Control currently doesn't support # comment characters. This can
be simply enabled by telling the parser itself to do this. In
Debian::Control::read(), the following makes it work (only the
'stripComments' option is new):
my $stanzas = $self->_parser->$parser_method( $file,
{ useTieIxHash => 1, verbMultiLine => 1, stripComments => 1 } );
Note that the parser doesn't handle this quite correctly either, but I'll
report that as a separate bug to the Parse::DebControl people.