Skip Menu |

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

Report information
The Basics
Id: 16116
Status: resolved
Worked: 15 min
Priority: 0/
Queue: CAM-PDF

People
Owner: Nobody in particular
Requestors: lee.goddard [...] easa.eu.int
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.03
Fixed in: 1.04_01



Subject: Strange errors
[root@dave11 pth]# perl -MDBD::CSV -MCAM::PDF Bareword found where operator expected at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2124, near "cluck Data::Dumper::Dumper" (Do you need to predeclare cluck?) "my" variable $parent masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2430. "my" variable $dict masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2443. "my" variable $dict masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2504. "my" variable $dict masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2514. "my" variable $key masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2754. "my" variable $sub masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2966. "my" variable $subdict masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2967. "my" variable $count masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2986. "my" variable $chain masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3172. "my" variable $node masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3189. "my" variable $pairs masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3197. "my" variable $i masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3203. "my" variable $i masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3222. "my" variable $list masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3237. "my" variable $i masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3240. "my" variable $limits masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3253. "my" variable @names masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3258. "my" variable $i masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3259. "my" variable $child masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3261. "my" variable $reference masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3483. "my" variable $newkey masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 3834. "my" variable $key masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 4577. "my" variable $key masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 4589. "my" variable $i masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 4607. "my" variable $key masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 4609. "my" variable $str masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 4882. "my" variable $obj masks earlier declaration in same scope at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 4984. syntax error at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 2124, near "cluck Data::Dumper::Dumper" BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.7//CAM/PDF.pm line 5161. Compilation failed in require. BEGIN failed--compilation aborted. [root@dave11 pth]#
Those are bizarre diagnostics! The error arises because I forgot to import Carp::cluck. I don't understand why DBD::CSV triggers the problem, but it's fixed in v1.05 which I just uploaded. -- Chris