Hi All,
I am trying to use PDF::API2 module . Since i do not have the root access, I installed the above module locally at ~/some_dir/lib.
The contents of ~/some_dir/lib are :
~/some_dir/lib/PDF/API2/
~/some_dir/lib/PDF/API2.pm
~/some_dir/lib/sun4-solaris
I am using the "use lib" pragma in script.The exact syntax is as below
use lib "~/some_dir/lib/PDF";
Later i do the following :
my $pdf = PDF::API2->open(~/some_pdf_file.p df);
I am getting the following error :
Can't locate object method "open" via package "PDF::API2" (perhaps you forgot to load PDF:API2) at line 12
I Can see the extra path to search for the locally installed PDF::API2 module getting added to @INC.
Kindly suggest what could be the problem.
Thanks in advance.
Thanks
Kapil
I am trying to use PDF::API2 module . Since i do not have the root access, I installed the above module locally at ~/some_dir/lib.
The contents of ~/some_dir/lib are :
~/some_dir/lib/PDF/API2/
~/some_dir/lib/PDF/API2.pm
~/some_dir/lib/sun4-solaris
I am using the "use lib" pragma in script.The exact syntax is as below
use lib "~/some_dir/lib/PDF";
Later i do the following :
my $pdf = PDF::API2->open(~/some_pdf_file.p df);
I am getting the following error :
Can't locate object method "open" via package "PDF::API2" (perhaps you forgot to load PDF:API2) at line 12
I Can see the extra path to search for the locally installed PDF::API2 module getting added to @INC.
Kindly suggest what could be the problem.
Thanks in advance.
Thanks
Kapil
Comment