Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Shorten-Bitly CPAN distribution.

Report information
The Basics
Id: 48701
Status: resolved
Priority: 0/
Queue: WWW-Shorten-Bitly

People
Owner: Nobody in particular
Requestors: joerg [...] joergmeltzer.de
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: commandline interface to WWW::Shorten::Bitly
It would be nice to have a commandline interface. I have attached a bitly_url script and a patch for Makefile.PL, MANIFEST The syntax is: bitly_url http://www.google.de http://www.microsoft.com http://bit.ly/f51zd http://bit.ly/SubEv
Subject: patch.txt
diff -ur ../WWW-Shorten-Bitly-1.10-k9dlNO/Makefile.PL ./Makefile.PL --- ../WWW-Shorten-Bitly-1.10-k9dlNO/Makefile.PL 2009-06-24 13:02:59.000000000 +0200 +++ ./Makefile.PL 2009-08-14 11:49:00.000000000 +0200 @@ -18,6 +18,7 @@ 'JSON::Any' => 1.18 }, PREREQ_PRINT => 1, + EXE_FILES => ['bin/bitly_url'], dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'WWW-Shorten-Bitly-*' }, ); diff -ur ../WWW-Shorten-Bitly-1.10-k9dlNO/MANIFEST ./MANIFEST --- ../WWW-Shorten-Bitly-1.10-k9dlNO/MANIFEST 2009-06-24 13:15:58.000000000 +0200 +++ ./MANIFEST 2009-08-14 11:40:35.000000000 +0200 @@ -1,9 +1,10 @@ +bin/bitly_url Changes -MANIFEST +lib/WWW/Shorten/Bitly.pm Makefile.PL +MANIFEST +META.yml Module meta-data (added by MakeMaker) README -lib/WWW/Shorten/Bitly.pm t/00-load.t t/pod-coverage.t t/pod.t -META.yml Module meta-data (added by MakeMaker)
Subject: bitly_url
Download bitly_url
application/octet-stream 991b

Message body not shown because it is not plain text.

From: pjain [...] cpan.org
On Fri Aug 14 06:01:16 2009, JMELTZER wrote: Show quoted text
> It would be nice to have a commandline interface. > I have attached a bitly_url script and a patch for Makefile.PL, MANIFEST > > The syntax is: > > bitly_url http://www.google.de http://www.microsoft.com > http://bit.ly/f51zd > http://bit.ly/SubEv
Joerg, Thanks for the patch. I'll integrate it in and put it out in the next release ( 1.12 ) Cheers, Pankaj
done in 1.12