Since "perldoc" and related code is written in perl, you can use a debugger to
debug it. You can do:
perl -d `which perldoc` -f sort
See:
* http://perl-begin.org/topics/debugging/
Thank you very much, Shlomi!!
I debugged perldoc as you suggested and found the error. Basically, the
problem was that I had POD2::ES installed on my system so in the method
search_perl_func() such translator converted the $re variable (that
contained 'Alphabetical Listing of Perl Functions') to 'Lista de
funciones de Perl en orden' but the perfunc.pod document where the line
"=head2 Lista de funciones de Perl en orden" was searched was in
English! (because perlfunc.pod hasn't been translated to Spanish yet).
So it never found such line and the output was empty :/.
I wouldn't have found the bug without your help.
Thank you!
Regards,
Pablo
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/