U
Uri Guttman
EW> Is there any content and usability difference between
EW> perldoc and man.
EW> I have only "man perl" at my Linux toolbox.
EW> However accessing information about function
EW> would not work as in perldoc.
EW> Like: man perl -f sbstr
EW> won't do
EW> Can I access the direct explanation
EW> of the particular function straight away from 'man'?
EW> Or I need to install perldoc instead?
for basic printing of a perl doc page they are equivilent. there can be
some minor differences in formatting depending on the man and paging
program (more, less) used.
but perldoc does know about various parts of the docs that man doesn't
and that is what those extra options do. -f prints the doc for a single
function out of perlfunc which has dozens of entries. this is much nicer
than a full man page of the funcs. -q will do a search of the FAQ and
return relevent entries, another thing man can't do. but some man
systems have keyword search stuff (built in like man -k or added on like
glimpse). and there are many man reader programs (i like tkman (if only
it were written in perl!)) which make life easier too.
and there is also perldoc.com which has the perldocs for
multiple versions (which is useful) in html and searchable.
uri
EW> perldoc and man.
EW> I have only "man perl" at my Linux toolbox.
EW> However accessing information about function
EW> would not work as in perldoc.
EW> Like: man perl -f sbstr
EW> won't do
EW> Can I access the direct explanation
EW> of the particular function straight away from 'man'?
EW> Or I need to install perldoc instead?
for basic printing of a perl doc page they are equivilent. there can be
some minor differences in formatting depending on the man and paging
program (more, less) used.
but perldoc does know about various parts of the docs that man doesn't
and that is what those extra options do. -f prints the doc for a single
function out of perlfunc which has dozens of entries. this is much nicer
than a full man page of the funcs. -q will do a search of the FAQ and
return relevent entries, another thing man can't do. but some man
systems have keyword search stuff (built in like man -k or added on like
glimpse). and there are many man reader programs (i like tkman (if only
it were written in perl!)) which make life easier too.
and there is also perldoc.com which has the perldocs for
multiple versions (which is useful) in html and searchable.
uri