Skip Menu |
 

This queue is for tickets about the Text-BibTeX CPAN distribution.

Report information
The Basics
Id: 104119
Status: resolved
Priority: 0/
Queue: Text-BibTeX

People
Owner: Nobody in particular
Requestors: jplesnik [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.70
Fixed in: (no value)

Attachments
Text-BibTeX-0.70-Stop-using-import-from-UNIVERSAL.patch



Subject: Text::BibTeX::Value could not use "use UNIVERSAL 'isa'"
Download (untitled) / with headers
text/plain 248b
use UNIVERSAL '...' is now a fatal error (5.21.3) perl -c Text/BibTeX/Value.pm UNIVERSAL does not export anything at Text/BibTeX/Value.pm line 21. BEGIN failed--compilation aborted at Text/BibTeX/Value.pm line 21. The possible patch is attached.
Subject: Text-BibTeX-0.70-Stop-using-import-from-UNIVERSAL.patch
diff -up Text-BibTeX-0.70/lib/Text/BibTeX/Value.pm.orig Text-BibTeX-0.70/lib/Text/BibTeX/Value.pm --- Text-BibTeX-0.70/lib/Text/BibTeX/Value.pm.orig 2015-04-30 10:13:15.785918161 +0200 +++ Text-BibTeX-0.70/lib/Text/BibTeX/Value.pm 2015-04-30 10:21:35.467626175 +0200 @@ -18,7 +18,6 @@ package Text::BibTeX::Value; use strict; -use UNIVERSAL 'isa'; use Carp; use vars qw'$VERSION'; @@ -206,7 +205,7 @@ sub new if ref $sval eq 'ARRAY' && @$sval == 2; croak "simple value is neither a two-element array ref " . "nor a Text::BibTeX::SimpleValue object" - unless isa ($sval, 'Text::BibTeX::SimpleValue'); + unless ref $sval eq 'Text::BibTeX::SimpleValue'; push (@$self, $sval); }
Download (untitled) / with headers
text/plain 196b
Fixed in master branch https://github.com/ambs/Text-BibTeX Thanks for the notice. Will wait for more changes in the next time. If no changes occur, will release with just this fix. Best, Alberto


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.