I've just re-invented a wheel and discovered a way to say which
modules uses given one, and from which location they come.
Quite simple and usefull (for me at least).
for Win32:
Quite simple and usefull (for me at least).
for other systems (including Cygwin):perl -Mvars -we "print join qq/\n/,map {qq/$_=>$INC{$_}/} sort keys %I +NC"
Sample output will beperl -Mvars -we 'print join qq/\n/,map {qq/$_=>$INC{$_}/} sort keys %I +NC'
If other module needed, specify, for example, other -M optionCarp.pm=>D:/perl561/lib/Carp.pm Exporter.pm=>D:/perl561/lib/Exporter.pm strict.pm=>D:/perl561/lib/strict.pm vars.pm=>D:/perl561/lib/vars.pm warnings.pm=>D:/perl561/lib/warnings.pm warnings/register.pm=>D:/perl561/lib/warnings/register.pm
Back to
Cool Uses for Perl