|
|
| P is for Practical | |
| PerlMonks |
AUTOLOAD to Access PayPal APIby TomKane (Beadle) |
| on Jul 24, 2012 at 23:50 UTC ( #983526=perlquestion: print w/ replies, xml ) | Need Help?? |
|
TomKane has asked for the
wisdom of the Perl Monks concerning the following question:
As I read through the code in the Business::PayPal::NVP module, I see that it has an AUTOLOAD function defined. I know it is calling into the PayPal NVP API, but I don't understand how the linkage is made. I know this is part of perl's automagic and I'm not an advanced perl programmer, I guess.
I would like to create a parallel module that will call the newer PayPal Payflow Gateway API. I think that it may be easy enough to substitute one API name for the other and make some other adjustments. But I don't see where the PayPal API is being called. Any insights/advice would be appreciated.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||