Subject: | Ambiguous call resolved as CORE::open() |
Date: | Sat, 25 Mar 2017 17:58:37 +0000 |
To: | "bug-PDF-API2 [...] rt.cpan.org" <bug-PDF-API2 [...] rt.cpan.org> |
From: | Abdelbaki Brahmia <abrahmia [...] physics.rutgers.edu> |
For some reason this simple script is reporting the following error. Is this a bug in the module?
#!/usr/bin/perl -w
use PDF::API2;
my $file= "file.pdf";
my $pdf = PDF::API2->open($file);
my $pages = $pdf->pages;
print $pages;
ERROR:
use Win32::Ambiguous call resolved as CORE::open(), qualify as such or use & at C:/Perl/site/lib/PDF/API2/Basic/PDF/File.pm line 726.