Saturday, June 20, 2009

Treasure hunting Perl Modules

I'm trying to render HTML content output as plaintext much like Lynx, I found some posting suggesting to try HTML::FormatText.
Fired up ActiveState PPM to install it but the .pm apparently wasn't in the repo. Found a similar module on PPM :

HTML::FormatText::WithLinks.

Installed it, problem was that I couldn't figure out why I was getting this:

Can't locate object method "new" via package

Yes that's with the example from the module documentation. Grrr...

Had to install it via CPAN, which started to complain it didn't have a make tool.Download NMAKE 1.5. Wow it's been a long time since I had MS NMAKE on my system.
Finally the code works.

I'm off to play PVP to let off some steam.

No comments: