I am trying to run a perl script which uses “PAN::API” module to connect to Palo Alto firewall. I downloaded “Perl User-ID XML API.zip” and I tried to install PAN::API module by copying “API.pm” to “/usr/lib/perl5/5.10.0/”
But it complaining that PAN::API is not installed, error message: “Can't locate PAN/API.pm”
My platform is SUSE Linux Enterprise Server 11
What am I doing wrong? Can you help please?
I think I must have downloaded the wrong package (Perl User-ID XML API.zip).
There is neither “Makefile.PL” nor a “README” file in the package. Can someone kindly direct me to where I can download the “PAN::API” Perl module?
Thanks for your response however after installing “PAN-perl-20111226” as instructed, my script still complain that “PAN::API” is not installed.
Package “PAN-perl-20111226” provide “PAN::XAPI” not “PAN::API”
But my script requires “PAN::API” where can I download this from?
please check this link - https://live.paloaltonetworks.com/docs/DOC-2485 . I have updated the doc with the steps to create a perl environment before we install the PAN Perl API.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!