mldvx4 has asked for the wisdom of the Perl Monks concerning the following question:
I've tried adding a module with APT:
# apt-get install libhtml-wikiconverter-markdown-perl
and it seems to have put things in the right place
# locate HTML | grep WikiConverter
/usr/share/man/man3/HTML::WikiConverter::Markdown.3pm.gz
/usr/share/perl5/HTML/WikiConverter
/usr/share/perl5/HTML/WikiConverter/Markdown.pm
/var/cache/man/cat3/HTML::WikiConverter::Markdown.3pm.gz
Yet when I try the following:
perl -e 'use HTML::WikiConverter;'I get this error:
Can't locate HTML/WikiConverter.pm in @INC (you may need to install the HTML::WikiConverter module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at -e line 1.
The manual says:
SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => 'Markdown' ); print $wc->html2wiki( $html );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't locate module added via APT
by ikegami (Patriarch) on Oct 23, 2017 at 04:14 UTC | |
by ikegami (Patriarch) on Oct 23, 2017 at 04:16 UTC | |
by mldvx4 (Hermit) on Oct 23, 2017 at 06:38 UTC | |
by i5513 (Pilgrim) on Oct 25, 2017 at 10:47 UTC |