Matt Kraai <[EMAIL PROTECTED]> writes: > On Sat, Dec 09, 2006 at 03:56:42PM +1300, Paul Collins wrote: >> Package: markdown >> Version: 1.0.1-5 >> >> I recently upgraded from version 1.0.1-3, which seems to have broken >> the Markdown module. >> >> Using the example from markdown(3): >> >> [jenny(~)] perl -e 'use Markdown; $html=&Markdown::Markdown("foo");' >> Undefined subroutine &Markdown::Markdown called at -e line 1. > > The module was renamed to Text::Markdown, to be consistent with the > version on CPAN. Does that work for you?
Ah, I see. The .pm file needs to be installed as Text/Markdown.pm in Perl's search path in order for "use Text::Markdown;" to work. However, when I do that: [briny(~)] readlink /usr/share/perl5/Text/Markdown.pm ../../../bin/markdown [briny(~)] perl -e 'use Text::Markdown; $html=&Text::Markdown::Markdown("foo");' it hangs, and when I type some stuff and hit ^D it processes it and spits out HTML, so it seems there is something elee amiss here. -- Paul Collins Wellington, New Zealand Dag vijandelijk luchtschip de huismeester is dood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]