XP is just a number | |
PerlMonks |
Re: Can a Perl module "inspect" itself and provide details about methods and parameters?by hippo (Bishop) |
on Sep 21, 2019 at 22:27 UTC ( [id://11106519]=note: print w/replies, xml ) | Need Help?? |
I seem to remember that Perl modules are "objects" or collections of them This isn't necessarily the case. Some Perl modules are object-orientated and are classes (not "objects" which are things instantiated from the classes) but equally some Perl modules are not object-orientated at all. Some (like the venerable CGI.pm) can be treated either as a class or not, depending on the calling code by having both an OO interface and a procedural interface within the same module.
In Section
Seekers of Perl Wisdom
|
|