Free Short URL | Stats | Bookmarklet | API | Links | Terms | Contact
 

API

Perl API - You can generate notlong URLs inside Perl programs by using the WWW::Shorten::NotLong module. To use it, download and install the entire WWW::Shorten package available on CPAN.

Here's an example of how simple it is to use this Perl API to generate notlong URLs (even specifying your own nickname):

use WWW::Shorten 'NotLong';

$short_url = makeashorterlink($long_url);

($short_url,$password) = makeashorterlink($long_url,nickname=>$nickname);
Copyright ©2002-2009 notlong.com