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.
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/”).
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!
Library: Twitter-0.12.tar.gz
Tools: zen-twitter-tools-0.12.tar.gz
[...] me. Let’s move on. For anyone interested in hacking around with Twitter and Perl, I’m leaving these modules as they are. • • [...]