Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of ask (83)

Saturday January 11, 2003
07:53 AM

Convert a text file to use short Metamark urls

[ #9900 ]

This should be useful to authors of the Perl summaries and such, which was my main reason for making Metamark.

Beware that you need to install URI::Find and WWW::Shorten. WWW::Shorten requires about two billion other modules (mostly indirectly), so be sure to use the CPAN shell to install them.

      # perl -MCPAN -e shell
      install URI::Find WWW::Shorten

Oh, and you can of course use one of the other shortening services that WWW::Shorten supports.

Get the code.