29 Mar 2020 14:56:13 UTC
- Distribution: Devel-Wherefore
- Module version: 0.000003
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (160 / 0 / 0)
- KwaliteeBus factor: 1
- 66.67% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity24 month
- Download (9.23KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:3 non-PAUSE usersMSTROUT Matt S Troutand 1 contributors
- mst - Matt S. Trout (cpan:MSTROUT)
Devel::Wherefore - Where the heck did these subroutines come from?
$ perl -d:Wherefore myscript.pl
will dump symbols in main from myscript.pl
$ perl -d:Wherefore=App::opan $(which opan)
will dump symbols from package App::opan in the installed opan script
$ perl -d:Wherefore lib/Foo/Bar.pm
will dump symbols from package Foo::Bar (we guess the package by stripping either 'lib' or any @INC entry off the front, then assuming the package name is Foo::Bar for Foo/Bar.pm etc). Which means this also works:
$ perl -d:Wherefore $(perldoc -lm App::Cpan)
Note that this code uses
B::minus_cto only compile the script so you don't have to worry about it executing - does mean we'll miss runtime require and import but hey, trade-offs.
Rage driven development rapidly released.
mst - Matt S. Trout (cpan:MSTROUT) <firstname.lastname@example.org>
None yet - maybe this software is perfect! (ahahahahahahahahaha)
This library is free software and may be distributed under the same terms as perl itself.
Module Install Instructions
To install Devel::Wherefore, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Devel::Wherefore
For more information on module installation, please visit the detailed CPAN module installation guide.