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?
CORE functions:
CORE + Cwd import:perl '-MData::Dumper()' -e '@_=sort grep {/\A[^\W\d]\w*\z/o} keys %{"$ +{CORE}::"};print Data::Dumper::Dumper\@_'
Everything:perl '-MData::Dumper()' -MCwd -e '@_=sort grep {/\A[^\W\d]\w*\z/o} key +s %{"${CORE}::"};print Data::Dumper::Dumper\@_'
perl '-MData::Dumper()' -e '@_=sort keys %{"${CORE}::"};print Data::Du +mper::Dumper\@_'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Can a Perl module "inspect" itself and provide details about methods and parameters?
by LanX (Saint) on Sep 23, 2019 at 00:47 UTC |