Jun 2009 03

Changes on v. 0.12

Namespace move to Twitter::

The Zen::Twitter library has been moved to the Twitter:: namespace. To avoid creating yet another root namespace(Zen::) we’ll use an existing root NS from CPAN, namely Twitter::

The base Zen::Twitter module now becomes Twitter::ZenTwitter. This module implements the friends_not_followers and its counterpart followers_not_friends functions. The Zen Twitter Tools scripts have all been modified to work with the new namespaces and should work just fine.

Tools and Library are now separate releases

Zen Twitter Tools has been broken in two: the library has been packaged into CPAN-standard form and the scripts are now zen-twitter-tools 0.12

This has the advantage of allowing the module to be listed in CPAN in the future, decoupling the library from the scripts(previously coupled by the include directory path being set to “./lib/”).

Installation

Download the libraries and tools below.
- Unpack Twitter-0.12.tar.gz

For a systemwide install this needs to be run as root:
- cd Twitter
- perl Makefile.PL
- make
- make install

Zen Twitter Tools:
- Unpack zen-twitter-tools-0.12.tar.gz
- cd zen-twitter-tools
- Edit credentials.xml and add your secret Twitter user/pass
- Now you can use Twitter from your command line!

Download

Library: Twitter-0.12.tar.gz
Tools: zen-twitter-tools-0.12.tar.gz

1 Comment

  1. [...] me. Let’s move on. For anyone interested in hacking around with Twitter and Perl, I’m leaving these modules as they are. • • [...]

Leave a Comment