* Witold Filipczyk <gglate...@gmail.com> [130806 12:00]:
> W dniu 06.08.2013 o 17:12 John Magolske <listm...@b79.net> pisze:
> > I just came across this hooks.pl snippet that allows ELinks to
> > display threaded comments on Hacker News nicely indented:
> > 
> > sub pre_format_html_hook {
> >   my ($url, $html) = (shift, shift);
> >   if ($url =~ m|news.ycombinator.com/item\?id=|) {
> >     $html =~ s|<img src="s.gif" height=1  
> > width=([0-9]{1,3})>|'&nbsp;'x($1/10)|eg;
> >   }
> >   return $html;
> > }
> > 
> > http://pastebin.com/P4frn4N7
> > https://news.ycombinator.com/item?id=6151718
> > 
> > ... tried compiling with Perl support:
> >
> >     % ./configure --with-lua --with-perl
> >       [...]
> >       checking for Perl... no
> >
> > Not sure why perl isn't found...
> 
> Did you install libperl-dev?

Ah, but of course...installing libperl-dev did the trick, works
perfectly now. Nice to be reading indented HN comments in ELinks.

Thanks!

John

-- 
John Magolske
http://B79.net/contact
_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to