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

Owner: Nobody in particular
Requestors: jplesnik [...]

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


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/ UNIVERSAL does not export anything at Text/BibTeX/ line 21. BEGIN failed--compilation aborted at Text/BibTeX/ 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/ Text-BibTeX-0.70/lib/Text/BibTeX/ --- Text-BibTeX-0.70/lib/Text/BibTeX/ 2015-04-30 10:13:15.785918161 +0200 +++ Text-BibTeX-0.70/lib/Text/BibTeX/ 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 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 infrastructure.

Please report any issues with to