Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Workings of UNIVERSAL::can

by geoffleach (Scribe)
on Jul 05, 2011 at 16:47 UTC ( [id://912851]=note: print w/replies, xml ) Need Help??


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

Not likely to be the problem as that's the source base I'm working on. Although it is true that that distribution does not have my problem.

Just to be clear, I'm not alleging that UNIVERSAL::can is buggy. If I understand what's it algorithm is -- how it finds out what files it searches to determine if a script 'can', then I can figure out what I'm doing wrong.

I hope that this clears things up.

Replies are listed 'Best First'.
Re^3: Workings of UNIVERSAL::can
by Anonymous Monk on Jul 05, 2011 at 17:11 UTC

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

    It really doesn't :)

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

      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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://912851]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-24 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found