Subject: | PDF-Labels-0.01 : PDF::Labels::base.pm cannot compile |
The file lib/Labels/base.pm cannot compile with perl version 5.6.1.
The reported error is:
$ perl -wc base.pm
panic: unexpected optree near method call at base.pm line 16, near "};"
base.pm had compilation errors.
Line 16 is the last line of:
UNIVERSAL::can( $self, $_ ) ?
$self->$_( $opts->{$_} )
: $self->{$_}=$opts->{$_};
The error is in the first line. UNIVERSAL::can has been extended in perrl 5.8.x to accept 2 arguments.
PDF-Labels-0.01 should require perl 5.8.0 or later.