Hi.

Something really odd is happening to me. For example, if I do `perldoc -v $_` I get the information about $_ as expected, but whenever I try `perldoc -f sort` I get this message:

/No documentation for perl function 'sort' found./

It seems that perldoc doesn't find any Perl builtin function. However, when I do `perldoc perlfunc` the pod document is diplayed correctly. How can this be possible? Isn't the information about the sort function picked up from perlfunc.pod?

I also set PERLDOCDEBUG to 1 and run `perldoc -f sort` and here is the output:

'opt_o_with: Noting "text" as desired output format...
'opt_o_with: Considering Pod::Perldoc::Totext
'opt_o_with: Considering Pod::Perldoc::Totext
'opt_o_with: Considering Pod::Perldoc::ToText
'opt_o_with: Considering Pod::Perldoc::ToTEXT
'opt_o_with: Considering Pod::Simple::text
'opt_o_with: Considering Pod::Simple::text
'opt_o_with: Considering Pod::Simple::Text
'opt_o_with: Considering Pod::Simple::TEXT
'opt_o_with: Considering Pod::text
'opt_o_with: Considering Pod::text
'opt_o_with: Considering Pod::Text
'opt_o_with: Considering Pod::TEXT
'opt_o_with: Noting "term" as desired output format...
'opt_o_with: Considering Pod::Perldoc::Toterm
'opt_o_with: Considering Pod::Perldoc::Toterm
'opt_o_with: Considering Pod::Perldoc::ToTerm
'opt_o_with: Considering Pod::Perldoc::ToTERM
'opt_o_with: Considering Pod::Simple::term
'opt_o_with: Considering Pod::Simple::term
'opt_o_with: Considering Pod::Simple::Term
'opt_o_with: Considering Pod::Simple::TERM
'opt_o_with: Considering Pod::term
'opt_o_with: Considering Pod::term
'opt_o_with: Considering Pod::Term
'opt_o_with: Considering Pod::TERM
'GetOptsOO::getopts: Starting switch processing. Scanning arguments [-f sort]
'GetOptsOO::getopts: Ending switch processing.  Args are [] with 0 errors.
'pagers_guessing: Pagers: /usr/bin/less -Rmorelesspgviewcat'process: /usr/local/bin/perldoc => Pod::Perldoc v3.25
Attempting to drop privs...
'add_translator: translator for 'es' loaded
'process:
'find_good_formatter_class: Formatter class Pod::Perldoc::ToTerm version 3.25 successfully loaded!
'find_good_formatter_class: Will format with the class Pod::Perldoc::ToTerm
'grand_search_init: Searching for perlfunc
'searchfor: Looking for perlfunc in /usr/local/lib/perl5/site_perl/5.20.2/POD2/ES /usr/local/bin /home/pablo/lib/perl5 /home/pablo/lib/perl5 /usr/local/lib/perl5/site_perl/5.20.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.20.2 /usr/local/lib/perl5/5.20.2/x86_64-linux /usr/local/lib/perl5/5.20.2 . /usr/lib64/qt-3.3/bin /usr/local/bin /usr/bin /bin /usr/games /usr/local/sbin /usr/sbin
'grand_search_init: Found as /usr/local/lib/perl5/5.20.2/pod/perlfunc.pod
'grand_search_init: Searching for perlop

'searchfor: Looking for perlop in /usr/local/lib/perl5/site_perl/5.20.2/POD2/ES /usr/local/bin /home/pablo/lib/perl5 /home/pablo/lib/perl5 /usr/local/lib/perl5/site_perl/5.20.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.20.2 /usr/local/lib/perl5/5.20.2/x86_64-linux /usr/local/lib/perl5/5.20.2 . /usr/lib64/qt-3.3/bin /usr/local/bin /usr/bin /bin /usr/games /usr/local/sbin /usr/sbin
'grand_search_init: Found as /usr/local/lib/perl5/5.20.2/pod/perlop.pod
No documentation for perl function 'sort' found

I'd really appreciate some help with this issue, because I actually can't solve it by my own.

Regards,

Pablo

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to