Simperl

Simple perl scripts and modules.

arrow Info

All code on this site is Copyright 2008 Richard Newsham <richard@simperl.com> The code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

illustration

more here.

arrow Links

cpan
perl.org
stock.xchng
Link 1
Link 2
Link 3
Link 4


Simperl one liners

Simperl modules

Whereis

A very simple module for finding the location of a given binary on a unix system. Can be useful for autocompletion of fields in installation systems.

SMTP

Allows sending of email through authenticated SMTP using CRAM-MD5 authentication.

Google Analytics API Interface

A simple way to interface with the Google Analytics API and retrieve report data.

Simperl scripts

Image resizer

Creates three directories "original" "standard" and "thumbnail" resizes images as neccassary into each. Can be used with default settings or each resize paramater can be specified on the command line.

Case fixer when moving from Windows to Linux hosting.

This script walks through the directory structure of a site looking for files that have upercase names and lower cases them. At the same time it looks inside the files for any links that point to the upercase files and lower cases them as well. This was created to assist with the migration of a site from windows to linux hosting where the origianal designer had been careless with their use of upper and lower case. e.g. Folders called images but links in code to images.

Network connection monitoring daemon.

Designed to login to a netgear DG834GT router in the event of a network loss for 10 minutes and issue a reboot. Assumes of course that the problem is with the external connection and the internal network is ok.

Simperl Projects

Simperl mail

A simple webmail client using imap for mailbox access.Coming soon