G'day PilotinControl,
There was a change to that deprecation warning in v5.16.0 (see perl5160delta: New Diagnostics).
"The long-deprecated defined(@array) now also warns for package variables. Previously it issued a warning for lexical variables only."
There was a bug report raised for this issue 8 months ago: Bug #77800 for PDF-Reuse: Deprecation Warnings in Perl 5.16.0
PDF::Reuse (v0.35) (the current version at the time of writing) has not changed in ~6 years. There have been bugs raised over its lifetime: at least 13 appear to be for this specific version and all remain active (see Active bugs for PDF-Reuse).
I don't personally have any knowledge of this module, but it's quite possible that maintenance has been abandoned.
Your options would seem to be:
-
Do nothing and put up with the warnings.
-
Attempt to contact the author and determine the status of this module.
-
Take over maintenance of this module and fix it yourself.
-
Find an alternative module which provides sufficiently similar functionality for your requirements.
-
Write your own module that provides exactly the functionality you want.
By the way, check the version of Perl you're running on "WinXP":
if it's earlier than 5.16.0, that would explain why the warnings are absent there.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.