best of
list
buy
there
myself


blog
text
image
code
puzzles
flame

 

PERL

CODE


Generate frost patterns on your Windows PC. Sorry. I wanted to try out the Win32::Console library. If you don't have a Windows PC, you can always check this sample output.

Put a Music Ticker on your web site. That way you can pretend someone's reading it. That's what I do.

Here's the code for an Address Parser. It's pretty useful for turning a list of addresses into a machine readable format -- I used it for my wedding's invitations through Microsoft Word's Mail Merge. It does make a few assumptions about address layout; feel free to hack and slash to your heart's content if it doesn't quite serve your needs.

Eh, maybe these itty-bitty scripts will be useful to someone. They're on the order of magnitude of one liners, but I'm posting them anyway. Woo.
  • Pipe into this filter to do a simple substitution cipher. Fun for making puzzles.
  • Encode and decode rot13 text with this filter. Fun for reading spoilers.
Here's the source for a Buzzword Bingo card generator, for those long, boring corporate meetings. (That seems a bit redundant, actually.) Run -- ASCII or HTML. Enjoy.

The Perl Journal had a contest a while back, wherein you were required to write a library which implemented a function to convert Roman to Arabic numerals. Here's the wrapper they provided, and here's the library I wrote. I got an honorable mention for an interesting abuse of the language. Whee.

 
 copyright 1994-2008 John Toomey