Perl: the Markov chain saw | |
PerlMonks |
How do I check all the variables, subroutines etc in a Perl Module?by Anonymous Monk |
on Aug 30, 2020 at 21:57 UTC ( [id://11121210]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Respected Monks Is there some kind of a construct that sort of lets me "peek" inside a Module so that I can see what all variables, functions and other stuff provided in a Module? Just as an oversimplified example, when I came across the %ENV Hash, I knew I could do this to see what all it offers.
This prints out everything that the %ENV holds. I know Modules could be far more deeply nested that this, but, hope the example would suffice to demonstrate what I am looking for. I understand that reading the Module documentation will give me a good overview and something that should be done anyways (RTFM), but, just want to know if something like this exists.
Back to
Seekers of Perl Wisdom
|
|