Skip Menu |
 

This queue is for tickets about the PDF-Reuse CPAN distribution.

Report information
The Basics
Id: 120459
Status: new
Priority: 0/
Queue: PDF-Reuse

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

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



Subject: Uses deprecated defined %hash
Download (untitled) / with headers
text/plain 857b
$ perl5.24.0 -MPDF::Reuse -eprDocForm Can't use 'defined(%hash)' (Maybe you should just omit the defined()?)Compilation failed in require at /usr/local/lib/perl5/5.24.0/AutoLoader.pm line 34. at -e line 1. The offending line is 3754 or so in Reuse.pm. Why has this problem not shown itself sooner? Because of AutoLoader. These days AutoLoader is discouraged, since most computers have enough memory to load a whole module easily, but disk I/O is still relatively slow. In other words AutoLoader slows down the loading of the module. AutoLoader also helps to hide problems such as the use of defined %hash. PDF::Reuse passes its tests on perl5.24.0, because prDocForm is never loaded by the test suite. Simply commenting out ‘use AutoLoader qw(AUTOLOAD);’ and ‘__END__’ will make such problems more apparent (so they can be fixed sooner).


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.