On Sun Mar 27 10:33:49 2005, guest wrote:
Show quoted text> It would be convenient to have an option to show the location of a
> module file even if there is no pod in it much like the -m option
> will show the contents of the file regardless of whether there is
> any embedded pod or not.
perldoc -m -l Module::Lacking::Pod
works just fine. So just spell "-L" as "-l -m" or even "-lm". True,
some future version of perldoc might break that hack.
I say "we" should just fix -l so it works as expected by fixing line 721
of Pod/Perldoc.pm from:
push @found, $_ if $self->opt_m or $self->containspod($_);
to:
push @found, $_ if $self->opt_m or $self->opt_l or
$self->containspod($_);
If the module were hosted some place like github, I'd commit the fix
myself. :)
Tye