Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Checking TYPEs after my declaration

by dcmertens (Scribe)
on Aug 19, 2016 at 11:07 UTC ( [id://1170057]=note: print w/replies, xml ) Need Help??


in reply to Checking TYPEs after my declaration

I am exceedingly interested in using this for my own purposes. I found the perlapi function that lets you figure this out. The type is, as I suspected, associated with the pad entry, not the variable. You can get it with XS via PadnameTYPE. It should be noted, though, that this function is not explicitly documented (i.e. not available in perlapi.pod), so it could change. But at least now you know how to get at it. :-)
  • Comment on Re: Checking TYPEs after my declaration

Replies are listed 'Best First'.
Re^2: Checking TYPEs after my declaration
by LanX (Saint) on Aug 19, 2016 at 12:39 UTC
    Oh great!

    Would be interesting to know if it's also callable from Perl via B :)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found