Doc::PerldlSection: User Contributed Perl Documentation (3)Updated: 2003-11-09 |
Doc::PerldlSection: User Contributed Perl Documentation (3)Updated: 2003-11-09 |
Autoload files are also matched, via a search of the PDLLIB autoloader tree. That behavior can be switched off with the variable $PERLDL::STRICT_DOCS (true: don't search autoload tree; false: search the autoload tree.)
Currently, multiple matches are not handled very well.
use PDL::Doc::Perldl; # Load all documenation functions
apropos 'text'
perldl> apropos 'pic' rpic Read images in many formats with automatic format detection. rpiccan Test which image formats can be read/written wmpeg Write an image sequence ((x,y,n) piddle) as an MPEG animation. wpic Write images in many formats with automatic format selection. wpiccan Test which image formats can be read/written
To find all the manuals that come with PDL, try
apropos 'manual:'
and to get quick info about PDL modules say
apropos 'module:'
You get more detailed info about a PDL function/module/manual with the "help" function
Usage: usage 'func'
perldl> usage 'inner'
inner inner prodcuct over one dimension
(Module PDL::Primitive)
Signature: inner(a(n); b(n); [o]c(); )
sig 'func'
The signature is the normal dimensionality of the function's arguments. Calling with different dimensions doesn't break --- it causes threading. See PDL::PP for details.
perldl> sig 'outer'
Signature: outer(a(n); b(m); [o]c(n,m); )
Usage: whatis $var
whatis <expression>
In the case of multiple matches, the first command found is printed out, and the remaining commands listed, along with the names of their modules.
Usage: help 'func'
perldl> help 'PDL::Slices' # show the docs in the PDL::Slices module perldl> help 'PDL::Intro' # show the PDL::Intro manual perldl> help 'slice' # show docs on the 'slice' function
And has a horrible name.
badinfo 'func'