Skip Menu |

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

Report information
The Basics
Id: 77800
Status: resolved
Priority: 0/
Queue: PDF-Reuse

People
Owner: cnighs [...] cpan.org
Requestors: matt.follett [...] gmail.com
Cc:
AdminCc:

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



Subject: Deprecation Warnings in Perl 5.16.0
Using defined on arrays or hashes now gets a deprecation warning in 5.16.0. This causes a warning in PDF::Reuse on line 993. This is probably true for lines 992, 6303, & 3683. The warning recommends omitting the defined().
From: kamunas [...] gmail.com
On Wed Jun 13 12:21:12 2012, mfollett wrote: Show quoted text
> Using defined on arrays or hashes now gets a deprecation warning in > 5.16.0. This causes a > warning in PDF::Reuse on line 993. This is probably true for lines > 992, 6303, & 3683. The > warning recommends omitting the defined().
any news?
Subject: [rt.cpan.org #77800] Workaround / fix
Date: Mon, 8 Jul 2013 05:57:51 +0100 (BST)
To: "bug-PDF-Reuse [...] rt.cpan.org" <bug-PDF-Reuse [...] rt.cpan.org>
From: Pekka Siiskonen <pekka_news [...] yahoo.co.uk>
Dears Sir / Madam, Bug #77800 for PDF-Reuse: Deprecation Warnings in Perl 5.16.0 https://rt.cpan.org/Public/Bug/Display.html?id=77800#txn-1089693 lines 992-993: was: Show quoted text
___________________________________________________________________________________     || (defined @{$links{'-1'}})     || (defined @{$links{$tSida}}))
__________________________________________________________________________________ this _seems_ to work:
___________________________________________________________________________________     || ((defined $links{'-1'}) && @{$links{'-1'}})     || ((defined $links{$tSida}) && @{$links{$tSida}}))
___________________________________________________________________________________ Perl version:
___________________________________________________________________________________ C:\>perl -V Summary of my perl5 (revision 5 version 16 subversion 3) configuration:   Platform:     osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread     uname=''     config_args='undef'     hint=recommended, useposix=true, d_sigaction=undef     useithreads=define, usemultiplicity=define     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef     use64bitint=undef, use64bitall=undef, uselongdouble=undef     usemymalloc=n, bincompat5005=undef   Compiler:     cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE - DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT - DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T',     optimize='-MD -Zi -DNDEBUG -O1',     cppflags='-DWIN32'     ccversion='12.00.8168', gccversion='', gccosandvers=''     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234     d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksi ze=8     alignbytes=8, prototype=define   Linker and Libraries:     ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf  -libpath:"C: \Perl\lib\CORE"  -machine:x86'     libpth=\lib     libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.l ib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib ws2_32 .lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt. lib     perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg 32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib ws 2_32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib comctl32.lib msv crt.lib     libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib     gnulibc_version=''   Dynamic Linking:     dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '     cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf  - libpath:"C:\Perl\lib\CORE"  -machine:x86' Characteristics of this binary (from libperl):   Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY                         PERLIO_LAYERS PERL_DONT_CREATE_GVSV                         PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS                         PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC                         USE_ITHREADS USE_LARGE_FILES USE_LOCALE                         USE_LOCALE_COLLATE USE_LOCALE_CTYPE                         USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF                         USE_SITECUSTOMIZE   Locally applied patches:         ActivePerl Build 1603 [296746]   Built under MSWin32   Compiled at Mar 13 2013 11:29:21   @INC:     C:/Perl/site/lib     C:/Perl/lib     . C:\>___________________________________________________________________________________ PDF-Reuse Reuse and mass produce PDF documents     Version:    0.35     Released:    2008-07-03     Author:    Lars Lundberg <larslund@cpan.org>     CPAN:    http://search.cpan.org/dist/PDF-Reuse-0.35/
___________________________________________________________________________________ Sent as suggested by https://rt.cpan.org/ (The suggestion at page: http://www.cpan.org/misc/cpan-faq.html#How_report_bug_Perl to send bug fix by contacting perlbug@perl.com does not work -- mail is rejected. Also mail to module owner (larslund@cpan.org) is rejected.) Pekka Siiskonen Finland
Download Reuse.pm(fixed)
application/octet-stream 203.9k

Message body not shown because it is not plain text.

Download Reuse.pm(original)
application/octet-stream 203.9k

Message body not shown because it is not plain text.

Fixed and will be available in version 0.37 or can be had now by pulling from github: https://github.com/cnighswonger/PDF-Reuse/tree/bugs/77800