in reply to Re: Can a Perl module "inspect" itself and provide details about methods and parameters?
in thread Can a Perl module "inspect" itself and provide details about methods and parameters?
> I think it'd be a futile effort to try to sort out what params each subroutine accepts because they can come in and be handled in a myriad of ways.
This part is just sad: if objects were self-documenting, then they wouldn't have to rely on the existence of (good) external documentation.
"If I ever write one", (he wrote, pompously) "I'll sure gladly provide everything everybody would want to know."
Your code will nevertheless be a Big Help in filling in some holes about What's Actually Callable.
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can a Perl module "inspect" itself and provide details about methods and parameters?
by stevieb (Canon) on Sep 21, 2019 at 22:42 UTC | |
|
Re^3: Can a Perl module "inspect" itself and provide details about methods and parameters?
by Your Mother (Archbishop) on Sep 21, 2019 at 22:51 UTC | |
|
Re^3: Can a Perl module "inspect" itself and provide details about methods and parameters?
by Br'er Rabbit (Novice) on Sep 22, 2019 at 12:46 UTC |