Result:
found 243 distributions and 872 files matching your query !
( run in 0.294 )
perl_mlb
view release on metacpan or search on metacpan
next CMD;
};
=head4 C<y> - List lexicals in higher scope
Uses C<PadWalker> to find the lexicals supplied as arguments in a scope
above the current one and then displays then using C<dumpvar.pl>.
=cut
$cmd =~ /^y(?:\s+(\d*)\s*(.*))?$/ && do {
# See if we've got the necessary support.
eval { require PadWalker; PadWalker->VERSION(0.08) }
or &warn(
$@ =~ /locate/
? <<EOM
PadWalker module not found - please install; try the command
perl -MCPAN -e "install PadWalker"
EOM
: $@
)
and next CMD;
# Got all the modules we need. Find them and print them.
my @vars = split (' ', $2 || '');
# Find the pad.
my $h = eval { PadWalker::peek_my(($1 || 0) + 1) };
# Oops. Can't find it.
$@ and $@ =~ s/ at .*//, &warn($@), next CMD;
# Show the desired vars with dumplex().
B<m> I<expr> Evals expression in list context, prints methods callable
on the first element of the result.
B<m> I<class> Prints methods callable via the given class.
B<M> Show versions of loaded modules.
B<y> [I<n> [I<Vars>]] List lexicals in higher scope <n>. Vars same as B<V>.
Requires the module B<PadWalker>.
B<<> ? List Perl commands to run before each prompt.
B<<> I<expr> Define Perl command to run before each prompt.
B<<<> I<expr> Add to the list of Perl commands to run before each prompt.
B<< *> Delete the list of perl commands to run before each prompt.
B<>> ? List Perl commands to run after each prompt.
view all matches for this distribution
rpm-build-perl
view release on metacpan or search on metacpan
# perl(IO/Socket.pm) at line 1560
# perl(Carp.pm) at line 7338 (builtin SKIP)
# perl(Term/ReadLine.pm) at line 5725 inside eval (SKIP)
# perl(Config.pm) at line 7633
# perl(dumpvar.pl) at line 2222
# perl(PadWalker.pm) >= 0.080 at line 2409 inside eval (SKIP)
# perl(dumpvar.pl) at line 2418
# perl(dumpvar.pl) at line 5316
# perl(Class/ISA.pm) at line 4576 inside eval (SKIP)
# perl(Carp.pm) at line 7278 (builtin SKIP)
# perl(Devel/Peek.pm) at line 7487 inside eval (SKIP)
view all matches for this distribution
self
view release on metacpan or search on metacpan
},
"runtime" : {
"requires" : {
"B::Hooks::Parser" : "0.21",
"B::OPCheck" : "0.27",
"PadWalker" : "1.93",
"Sub::Exporter" : "0"
}
}
},
"release_status" : "stable",
view all matches for this distribution( run in 0.294 second using v1.01-cache-2.11-cpan-05444aca049 )