Skip Menu |

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

Report information
The Basics
Id: 41628
Status: open
Priority: 0/
Queue: PDF-Extract

People
Owner: Nobody in particular
Requestors: patrick.bourdon [...] bigfoot.com
Cc:
AdminCc:

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



Subject: PDF-Extract-3.03 - proposals to suppress warning messages
Date: Thu, 11 Dec 2008 15:35:05 +0100
To: bug-PDF-Extract [...] rt.cpan.org
From: Patrick BOURDON <patrick.bourdon [...] bigfoot.com>
PDF-Extract-3.03 - proposals to suppress warning messages

Hello,


My environment:

- OS: Windows XP

- Perl: ActivePerl 5.10.0 build 1004

- Module: PDF-Extract-3.03



To avoid warnings (-w), I suggest the following or equivalent changes:


535 (original) : $vars{"PDFFilename"}=$vars{"PDFSaveAs"} ? $vars{"PDFSaveAs"}.".pdf" : "$filename$fileNumber.pdf";

535 (evolution): $vars{"PDFFilename"}=$vars{"PDFSaveAs"} ? $vars{"PDFSaveAs"}.".pdf" : $filename.($fileNumber||0).'.pdf';


570 (original) : return &error("There are no pages in $filename.pdf that match  '$pages' ",__FILE__,__LINE__)

570 (evolution): return &error("There are no pages in $filename.pdf that match  '".((defined $pages) ? $pages : '?')."' ",__FILE__,__LINE__)


570 (original) : return &error("There are no pages in $filename.pdf that match  '$pages' ",__FILE__,__LINE__)

570 (evolution): return &error("There are no pages in $filename.pdf that match  '".((defined $pages) ? $pages : '?')."' ",__FILE__,__LINE__)


660 (original) : "$obj 0 R$gd";

660 (evolution): (defined $gd) ? "$obj 0 R$gd" : "$obj 0 R";



Thank you for this module.

Patrick Bourdon - Paris - France

Subject: RE: [rt.cpan.org #41628] PDF-Extract-3.03 - proposals to suppress warning messages
Date: Thu, 1 Jan 2009 10:00:03 +1100
To: <bug-PDF-Extract [...] rt.cpan.org>, <patrick.bourdon [...] bigfoot.com>
From: "Noel Sharrock" <noel [...] lgmedia.com.au>
Hi Patrick, Thank you very much for your suggestions. I am uploading PDF::Extract 3.04 with a credit in the SUPPORT section of the POD for your suggestions. I also added some default behaviour for PDFPages. It will default to 1. See POD. Noel Sharrock PS. Happy new year. From: patrick.bourdon@bigfoot.com via RT [mailto:bug-PDF-Extract@rt.cpan.org] Sent: Friday, 12 December 2008 1:35 AM To: undisclosed-recipients: Subject: [rt.cpan.org #41628] PDF-Extract-3.03 - proposals to suppress warning messages Hello, My environment: - OS: Windows XP - Perl: ActivePerl 5.10.0 build 1004 - Module: PDF-Extract-3.03 To avoid warnings (-w), I suggest the following or equivalent changes: 535 (original) : $vars{"PDFFilename"}=$vars{"PDFSaveAs"} ? $vars{"PDFSaveAs"}.".pdf" : "$filename$fileNumber.pdf"; 535 (evolution): $vars{"PDFFilename"}=$vars{"PDFSaveAs"} ? $vars{"PDFSaveAs"}.".pdf" : $filename.($fileNumber||0).'.pdf'; 570 (original) : return &error("There are no pages in $filename.pdf that match '$pages' ",__FILE__,__LINE__) 570 (evolution): return &error("There are no pages in $filename.pdf that match '".((defined $pages) ? $pages : '?')."' ",__FILE__,__LINE__) 570 (original) : return &error("There are no pages in $filename.pdf that match '$pages' ",__FILE__,__LINE__) 570 (evolution): return &error("There are no pages in $filename.pdf that match '".((defined $pages) ? $pages : '?')."' ",__FILE__,__LINE__) 660 (original) : "$obj 0 R$gd"; 660 (evolution): (defined $gd) ? "$obj 0 R$gd" : "$obj 0 R"; Thank you for this module. Patrick Bourdon - Paris - France