Hello all, perhaps you may be able to help. I am trying to RTFM for PDL. PDL::Doc is installed but its database appears not to be. This is what happens:


$ pdldoc -a slice
Unable to find PDL/pdldoc.db in /etc/perl:/usr/local/lib/x86_64-linux-gnu/perl/5.30.0:/usr/local/share/perl/5.30.0:/usr/lib/x86_64-linux-gnu/perl5/5.30:/usr/share/perl5:/usr/lib/x86_64-linux-gnu/perl/5.30:/usr/share/perl/5.30:/usr/local/lib/site_perl:/usr/lib/x86_64-linux-gnu/perl-base
can't open database 1, scan docs first at /usr/lib/x86_64-linux-gnu/perl5/5.30/PDL/Doc.pm line 468.
	PDL::Doc::ensuredb(PDL::Doc=HASH(0x564539105b98)) called at /usr/lib/x86_64-linux-gnu/perl5/5.30/PDL/Doc.pm line 596
	PDL::Doc::search(PDL::Doc=HASH(0x564539105b98), "m/slice/", ARRAY(0x564538a7a6c8), 1) called at /usr/lib/x86_64-linux-gnu/perl5/5.30/PDL/Doc/Perldl.pm line 189
	PDL::Doc::Perldl::search_docs("m/slice/", ARRAY(0x564538a7a6c8), 1) called at /usr/lib/x86_64-linux-gnu/perl5/5.30/PDL/Doc/Perldl.pm line 166
	PDL::Doc::Perldl::aproposover("slice") called at /usr/lib/x86_64-linux-gnu/perl5/5.30/PDL/Doc/Perldl.pm line 174
	PDL::Doc::Perldl::apropos("slice") called at /usr/local/bin/pdldoc line 49

What have I done wrong, and how may I fix it?


In reply to Unable to find PDL/pdldoc.db by Xilman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.