I’ve been enjoying playing with Google’s SyntaxHighlighter. Another user came up with a Perl brush file, so I thought I’d give it a shot. One note from the author of the brush file is that -> gets converted to -> rather than being translated properly. It’s definitely the highlighter that does it, too, because when you disable the brush it shows up properly.
#!/usr/bin/perl use strict; use Mail::Box::Manager; ################################# # User Variables # # Set $password to your password (encoded): # . only the low four bits of each character count # . character 0x3f gets split into 0x?3 and 0x?f, # . fill in the ?'s with anything you like # . man ascii =) # my $server = 'pop.server.name'; my $username = 'username'; my $password = 'tSvx6!f>v7V%d=fU'; # the word "ChangeMe" encoded ################################# # Get em! # my $mgr = Mail::Box::Manager->new; my $pop = $mgr->open(type => 'pop3', username => $username, password => decodePassword($password), server_name => $server); my @messages = $pop->messages; print "