On Sat, Dec 09, 2006 at 10:09:29PM +1300, Paul Collins wrote:
> 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.

I had to change $INC{'Markdown.pm'} to $INC{'Text/Markdown.pm'} also.

Thanks for finding and reporting this problem.

-- 
Matt                                                   http://ftbfs.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to