in reply to Re^2: Workings of UNIVERSAL::can
in thread Workings of UNIVERSAL::can

I hope that this clears things up.....

It really doesn't :)

Anyway, It just walks @ISA asking if it can, See UNIVERSAL, perlobj, perlboot

Replies are listed 'Best First'.
Re^4: Workings of UNIVERSAL::can
by Anonymous Monk on Jul 05, 2011 at 17:22 UTC
Re^4: Workings of UNIVERSAL::can
by geoffleach (Scribe) on Jul 05, 2011 at 22:46 UTC
    There are no base classes other than UNIVERSAL. In any event, the functions that can't be found are within the C++ library. I have verified that the functions mentioned in the library object (.so) file.

      In any event, the functions that can't be found are within the C++ library. I have verified that the functions mentioned in the library object (.so) file.

      I understood as much from your original post :)

      UNIVERSAL only deals with the perl symbol table (stash), it doesn't know anything about the C++ library or the bindings to it (the XS, which is responsible for defining these symbols)