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

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

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/ line 34. at -e line 1. The offending line is 3754 or so in 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 infrastructure.

Please report any issues with to