in reply to AUTOLOAD to Access PayPal API

See perlobj - AUTOLOAD.

-- Ken

Replies are listed 'Best First'.
Re^2: AUTOLOAD to Access PayPal API
by TomKane (Beadle) on Jul 25, 2012 at 13:18 UTC

    kcott,

    Thanks for your help.

    Unfortunately, perlobj says the same thing as the camel book. But I was looking for a method in AUTOLOAD that exposed a remote API's interface -- kind of like the DYNALOAD linkage to dynamic libraries.

    I realize now there is no linkage there at all. After looking more closely at the Business::PayPal::NVP package, I see that the API is actually reached via a url. Other than the magic of AUTOLOAD itself, there is no other magic happening.