Dave Cross > WWW-Shorten-2.03 > shorten

Download:
WWW-Shorten-2.03.tar.gz

Annotate this POD

CPAN RT

Open  4
View Bugs
Report a bug
Source   Latest Release: WWW-Shorten-2.06

NAME ^

shorten - CLI program to demonstrate use of WWW::Shorten

SYNOPSIS ^

    % shorten books.perl.org/book/171
    http://tinyclick.com/?2x6nss

    # Or, if you specify a different service in your config file

    % shorten books.perl.org/book/171
    http://snurl.com/xc3

CONFIGURATION ^

As we use the Config::Auto module for configuration, shorten's fairly flexible when it comes to format.

Configuration will be found in whichever of the following files comes first.

    shortenconfig
    ~/shortenconfig
    /etc/shortenconfig
    shorten.config
    ~/shorten.config
    /etc/shorten.config
    shortenrc
    ~/shortenrc
    /etc/shortenrc
    .shortenrc
    ~/.shortenrc
    /etc/.shortenrc

Generally, I use the format:

    service = MakeAShorterLink

which is simple and works. service is the only configuration keyword at present. Its value should be a correctly capitalized service name as per WWW::Shorten's documentation.

BUGS, REQUESTS, COMMENTS ^

Please report any requests, suggestions or bugs via the system at http://rt.cpan.org/, or email <bug-WWW-Shorten@rt.cpan.org>. This makes it much easier for me to track things and thus means your problem is less likely to be neglected.

LICENSE AND COPYRIGHT ^

Copyright © Iain Truskett, 2002. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

Iain Truskett <spoon@cpan.org>

SEE ALSO ^

perl