This is where I keep my Perl Stuff that I want to publish for whatever
reason.
Unless otherwise specified it's all licenced under ESL.
I do try to keep the versions here up to date, and the Version part of the
table tuned to the actual version available, but it can sometimes get out of
synch, so just look for $VERSION in the actual file.
Patches, feedback, critique and anything else related to this is very welcome, so feel free to contact me about all this.
| Name | Version | Documented | Demo |
|---|---|---|---|
| COD4.pm | 0.2 | POD + commented | Yes |
| DemmyLCD.pm | 0.5 | POD + some comments | No |
| Services.pm | 0.1 | No | No |
COD4.pm
This Perl Module just contacts a Call of Duty 4 server and queries it for
information. It's tested and everything, but I'm not sure if it's ready for
Production use.
See the #TODO# and #FIXME# marks in the actual source for more information,
and make sure you read the POD.
DemmyLCD.pm
This little module is written to talk to a Pertelian X2040 character LCD
display under Linux.
With little or no modification, it'll probably work well with other character
LCDs, too.
I actually wrote this module while waiting for the display to arrive by mail,
and while there were some modifications I had to do for the actual hardware,
it worked pretty well right off the bat.
It doesn't do everything the display supports, but it does everything I need.
I currently use it to display network usage statistics on my gateway
computer, and both this module, and the display, fit that usage perfectly.
Beware that it assumes the display is at /dev/ttyUSB0 unless otherwise
instructed, and that's very very wrong if your display is not USB-based.
Check your distros documentation on how to determine the device file for your
specific hardware.
Services.pm
A very straight forward module that does what so many other modules do
better.
It takes /etc/services and provides Services::byPort() and Services::byName()
to resolve a port number to a service name and vice versa.
While it's not very elegant, and not at all portable, it does the job just
fine. I just needed to resolve port numbers to service names for a Net::Pcap
project, and this fits that bill just fine.
More stuff will be added as I release new versions.
I have a mountain of pretty useful POE code
in ~/bin/, but it's all very specific to my system and the way everything is
set up. Once I get it cleaned up, I'll post it here. Don't hold your
breath.