Recently in cpan Category

Installing Google::Checkout::* in Debian:

apt-get install libxml-writer-perl libcrypt-ssleay-perl libdate-manip-perl

cpan Google::Checkout::General::GCO

Installing Net::Amazon::S3 in Debian?  This might help.  I'm documenting it here because I have had to do this so many times in the past few weeks.  It's not hard, but it's definitely annoying to have to find all the modules that Net::Amazon::S3 depends on.

apt-get install libxml-libxml-perl libmoose-perl libmoosex-strictconstructor-perl libregexp-common-perl libclass-mop-perl libdatetime-format-iso8601-perl libdigest-md5-file-perl libnamespace-clean-perl libtest-use-ok-perl libtime-duration-parse-perl libdatetime-format-natural-perl libdatetime-set-perl libdatetime-perl libexception-class-perl libtest-warn-perl libtest-differences-perl libtest-deep-perl libmodule-build-perl liblwp-useragent-determined-perl

cpan Data::Stream::Bulk

cpan DateTimeX::Easy

cpan MooseX::Types::DateTimeX

cpan DateTime::Format::HTTP

cpan Net::Amazon::S3


And then if you get tired of any of the warnings when you "use" it, try this at the top of your code:

open(my $olderr, '>&', \*STDERR);
close(STDERR);
eval('use Net::Amazon::S3');
open(STDERR, '>&', $olderr);

Joined Debian Perl Group

By Dusty on September 15, 2009 11:55 PM · No Comments
So, I've finally joined the Perl Group within Debian.  I thought it'd be a difficult thing to do, but no... it's not.  My biggest misunderstanding of the process is that I thought I needed to be a Debian Developer (DD) to join a group.  Nay!  You just have to have a clue.  I requested assistance to gain that clue and was happily greeted with "clue".  Go to a page and read about it.  Then let them know you created a new user in the system.  Ta-da!

So now I begin lurking and watching the group.  I'm not going to do anything yet until I observe a bit about how they go about getting things done.  I'd rather not look like an idiot straight away.

In my observation thus far, I've noticed a Perl module that I'd never seen before:  Net::DRI.  Someone had just packaged it and submitted it to the group.  Basically this module is the equivalent to DBD, but for domain registry company interfaces.  It makes a single API to abstract all the different APIs provided by various registrars.  Very nice!  I haven't given it a shot yet, but the idea just sounds genius.  Who knows, maybe I'll even submit some code to handle the registrars I use.

Linux::APT 0.1 (new)

By Dusty on February 25, 2009 4:30 AM · No Comments
I created a new module and uploaded it to the CPAN.  It allows for Perl-based access to Debian's APT package management tools.  It's a bit like Windows Update for Debian-based Linux distributions.  In theory it should work for other Linux distros that have had APT added on non-standardly, though I haven't tested that yet.

Right now it lets you list the packages to upgrade, install/upgrade packages, and remove/purge packages.  I plan to add searching (for installable packages) and whatever other functions that people request.

You should find it on the CPAN sometime today, when it's finally indexed, distributed, and made available on the CPAN site.

Debian has some modules that basically do the same thing, but they're complicated and aren't typically available for those that have installed APT on non-Debian distros.  This module is easy to use and doesn't have any dependencies other than a Linux distro that can use APT itself.  Plus it's pure-perl, so it doesn't even need compiled.  This means that as long as the distro can use APT, it shouldn't matter what environment or processor it uses.

Win32::WindowsUpdate 0.4 (updated)

By Dusty on February 19, 2009 3:40 AM · No Comments
http://search.cpan.org/~WILSOND/Win32-WindowsUpdate/lib/Win32/WindowsUpdate.pm

Updated again.  Added the ability to not auto reboot after patching (that's so annoying!) as well as set the auto update settings (disable, notify, download, automatic).  It's been uploaded to the CPAN and should appear soon.

Win32::WindowsUpdate 0.3 (updated)

By Dusty on February 18, 2009 7:43 PM · No Comments
I've uploaded Win32::WindowsUpdate to the CPAN.  I uploaded 0.2 as well, but it isn't nearly as good as 0.3, so I skipped that announcement.

0.2 used VBScript inside of Perl to install the updates, but 0.3 just uses Perl.  Much better.

Enjoy.

Win32::WindowsUpdate 0.1 (new)

By Dusty on February 17, 2009 5:23 PM · No Comments
Well, I changed my mind and created a Perl module to do Windows Update stuff.

Win32::WindowsUpdate should be found on the CPAN in the next day or so.

Net::SloppyXMPP 0.3 (updated)

By Dusty on February 15, 2009 6:38 PM · No Comments
http://search.cpan.org/~WILSOND/Net-SloppyXMPP/lib/Net/SloppyXMPP.pm

Bug fix.  There was a problem with the chunking and encoding of the payload within the message function.  It wouldn't properly send large messages (many thousand characters).  Should be fixed now.  It works for me anyway.

Net::SloppyXMPP 0.2 (updated)

By Dusty on February 14, 2009 5:18 PM · No Comments
http://search.cpan.org/~WILSOND/Net-SloppyXMPP/lib/Net/SloppyXMPP.pm

I've updated my Net::SloppyXMPP module.  I added the very necessary features to send messages and to subscribe to incoming messages.  Not very useful without those.

I also fixed a dependency bug that caused the module to die if you specified that you didn't want to use SRV record resolution.

As always, give it a few hours before you start looking for it on the CPAN.