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.
use strict; use warnings; use diagnostics; while ( my($key, $value) = each %ENV) { print "Key: $key\tValue: $value\n"; }
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.
|
|---|