Generated on 2008-04-21
formatting usage statements with $0
VIM 6.0 filetype plugin for Perl
Generating characters (0 to 255)
Generate all (0,1)-sequences in lexicographic order
1 0\/\/Nz U DoodZ!
Transliterate cp1252 0x80-0x9f to utf8 equivalents
Transliterate cp1252 0x80-0x9f to utf8 equivalents
prime factorization using base 1
Decorated string, v1.1
1 0\/\/Nz U DoodZ!
break on Win32 (Windows XP SP2 Perl 5.6.1 built 630)
remove tilda from filenames with 1 liner
sic frequency analysis of Checkpoint FW-1 rulesets
Simultaneous alarms < 1 sec
Generate all (0,1)-sequences in lexicographic order
crop-sort: Maintaining a Top-10 Array
YAL10CI (Yet Another LUHN-10 Checksum Implementation)
PerlMonks Newest 10 Nodes Grabber
DBI::Shell Version 10.7 - batch mode - patch to make it work
1111111111-countdown-watcher
Getting an ANSI X.12 file's delimiters
Fileversion info from .exe/.dll-files (16/32-bit)
Adding 2 + 2
Fixed length file layout - cut2fmt 2
MoDetails v0.2
Next/Prev power of 2
Adding 2 + 2
Perlscript in IIS and 2 byte character codes
Sorting on 2 fields with the same priority
Sort in IP in 2 lines.
Add a task to Outlook 2000
e hotfixes applied to a Windows server (2000, 2003)
Install a perl script as a Win NT/2000/XP service.
ixes applied to a Windows server (2000, 2003)
d and Wales Date::Manip *Holiday config 2005 to 2008
2007-swimsuit-w-lwp
les Date::Manip *Holiday config 2005 to 2008
rank of Learning Perl in O'Reilly's top 25 books
Get O'Reilly's top 25 into Template Toolkit
Generating characters (0 to 255)
Grabbing 8.3 DOS names
Full justification - 3 methods
Cartesian 3-Vectors
(code) Recursive chmod chown chgrp in 30 lines
leversion info from .exe/.dll-files (16/32-bit)
Adding text to PDL's TriD 3d graphs
PDL 3d image cube
Convert a number (for example 404) into a string ("four hundred four")
warnings for modules < 5.6
trl-break on Win32 (Windows XP SP2 Perl 5.6.1 built 630)
our own Chatterbox nodelet in less than 50 lines of code.
Get # of 512 byte blocks
tch nested parens of arbitrary depth in 56 characters
warnings for modules < 5.6
Perl 6's part()
Perl 6, arrays, hashes, subroutines & basic file IO
VIM 6.0 filetype plugin for Perl
l-break on Win32 (Windows XP SP2 Perl 5.6.1 built 630)
Photo Extractor for Treo 600 Phone/PDA/Camera
Win32 (Windows XP SP2 Perl 5.6.1 built 630)
compact filenames to < 64 characters
IEEE 754 64-bit double to 80-bit Extended double (long double) pack (Updated).
80-bit Extended double (long double) to 64-bit double unpack
t extended double precision to IEEE 754 64-bit double-precision
64-bit hex integer representation under Win32
[Perl 6] say, junctions, conditional, and quick numeric list...
DBI::Shell Version 10.7 - batch mode - patch to make it work
IEEE 754 64-bit double to 80-bit Extended double (long double) pack (Updated).
0-bit extended double precision to IEEE 754 64-bit double-precision
IEEE 754 80-bit Extended double (long double) to 64-bit double unpack
IEEE 754 80-bit extended double precision to IEEE 754 64-bit double-precision
Extended IEEE 754 parsing
Mixed ISO-8859/UTF-8 conversion
Switching on internal UTF-8 flaq on DBI result from database
Tk 8-ball
Grabbing 8.3 DOS names
IEEE 754 64-bit double to 80-bit Extended double (long double) pack (Updated).
IEEE 754 80-bit Extended double (long double) to 64-bit double unpack
IEEE 754 80-bit extended double precision to IEEE 754 64-bit double-precision
Mixed ISO-8859/UTF-8 conversion
Sorting @_
Preserve @_ aliasing a (scalar||array)
Upper case first letter of each _ delimited word
Getting subroutine @_ w/ defaults
Intelligently shortcutting $_-or-params, non-destructive-or-in-place function maker
Image __DATA__
Merging two @ARRAYS into a %HASH
a 'with' statement for perl
Preserve @_ aliasing a (scalar||array)
wrap 'system LIST' in a (somewhat) more friendly style
Perl header to serve up a .HTML file from a CGI directory
Convert relative to absolute URL given a base URL, without modules
From a Blessing to a Curse
Error handling using a block with continue
A cacheing tied hash base class
Using LWP::Simple with a callback (progress indicator)
rounding money value to a half of a cent
rompt for deletion of files larger than a certain size
e all shared memory segments created by a certain user.
Debugging a CGI
rl header to serve up a .HTML file from a CGI directory
ow a clickable link list of images from a CGI script
Using two external style sheets in a CGI.pm script
Get a CGI::param() variable with undef checking.
A CGI::Prototype respond() subroutine for Data::FormValidator users
Associate a config file with a Class::DBI class for meta information
Show a clickable link list of images from a CGI script
Include files using Text::Template and a closure
Finding the name of a code ref
read-excel.pl: a code sample for Spreadsheet::ParseExcel
Find the name of a CODEref
Remove a common prefix from two strings
Count capturing parentheses in a compiled regexp
Turn your script into binary without a compiler! :-P
(TIMTOWDI) Breaking a config file into name/value pairs
Associate a config file with a Class::DBI class for meta information
Stripping bad entries from a constructor
Create a constructor named the same as your package name!
Encrypted Storage of sensible Data in a Cookie
Fetch a cookie to disable X10 popup ads
A cool way to compare dates
Is a CPAN module Pure Perl?
Converting a CSV list to a list of hashrefs naming the fields
From a Blessing to a Curse
Handling DATE formats from a database
Get a hash object from a database with DBI for use with HTML::Template
Generate a date stamp of today less a date interval
Generate a date stamp of today less a date interval
A Picture A Day
Range search on a DB_File BTREE
Output results from a DBI select query in one line
Tun an IP into a decimal number
Construct Graph from a Degree Sequence
Direct a LWP connection to a different host
Lowercase all filenames within a directory
Searching all Excel files in a directory
Dump a directory as links from CGI
How to time a directory scan
Print the oldest file in a directory.
Switch/case as a dispatch table with C-style fall-through
Remove the ^M Character from a Document
Test the syntactic validity of a domain name
Print a number with grouping in a European style
read a few lines, put them into named variables
Return the contents of a file
Intermixing STDOUT and STDERR to a file
Slurp a file
Get next 'n' lines from a file
Double space a file
Delete the last line of a file
Count the number of lines in a file
Add a newline to the end of a file
Truncate the front of a file
overwrite a file
tf - tail a file and output separator line when inactive
Find a file in a list of directories
Printing a file in M$ Windows
How to read batches of SQL from a file in Perl
Reading a file in reverse until yesterdays date.
Exclusively updating a file that continues to be repeatedly read
Getting command executable of a file type.
Reading a file's permission settings
Loading Environment Variables from a File.
Redirect filtered PPM screen output to a file.
Parse out the extension of a filename - return base of filename.
Timestamp as a Filename Collection
Files owned in a filesystem
Many children, but never more than a fixed number at once.
Disk Space used by a folder (and sub folders)
extracting splices with a for-loop and splice()
find a forgotten shell command
Convert seconds into a formatted ddd:hh:mm:ss string
How to get those CGIs running in a frame.
A framework for implementing child processes performing file updates, SQL queries, and the passing of results to the parent using Parallel::ForkManager
exclude all members of @a from @b
Array-ize a function
Playing with a GameVoice
A graphical regular expression tester.
saving a Gtk2 canvas which is bigger than the window
GMeM -- a Gtk2 memory monitor utility
rounding money value to a half of a cent
Case structures using a hash
_strl - Get length of longest string in a hash
e code for the running application into a hash
sort a hash array
Plowing AIX errpt contents into a hash for processing
Seeing if a hash has one arbitrary key
Get a hash object from a database with DBI for use with HTML::Template
parse multipart/form-data into a hash structure
Inverting a hash to get all keys for this value
Recursively walk a hash to get to an element
Declaring and initializing a hash with a list of keys and a list of values
liner to read all cookie key/vals into a Hash...
Find most recently changed files in a hierarchy
ucci Paradigm for ordered operations on a homogenous hash (specificlaly, mkdir from hash)
Rename your ripped mp3 in a hurry
Insert something like a hyperlink in a Tk Text widget
add a IIS FtpVirtualDir
Easier searching for a job using perl.
Rewrite subselect with using a join
count subset of chars in a line
Read a line with <> before \n
ie (aka site-wide search and replace in a line)
Schwartzian transform for randomizing a list
Derangement of a list
Grab a list of all modules on CPAN + their descriptions
Find common elements in a list of arrays
Yet Another "Matching over a list of conditions"-like technique
Find a file in a list of directories
Remove '.' and '..' from a list of filenames
Converting a CSV list to a list of hashrefs naming the fields
Declaring and initializing a hash with a list of keys and a list of values
Read a list of NUL-delimited names from STDIN to be processed
Add a list of numbers together
ializing a hash with a list of keys and a list of values
Nicely format a list or a string
Fold a list using map splices
Format a list with commas and "and"
A little demo for Net::SSH2
A little extension for Data::Page
a little zip()
Figuring out which version of a loaded module
Presenting a local listing of remote files over HTTP
Getting a Local/Remote Win32 Task List
Sort a long list of hosts by domain (code)
Downloading a lot of files
Direct a LWP connection to a different host
Send a mail with return_path control
Export All Functions from a Module
Find the file for a module
Find version of a module included in perl core
Use a module only if it is available
Look at a module's source-code
Test that a module's SYNOPSIS code really runs
Name/pair values from a multilevel hash/array
List columns for a MySQL table
make a new list by substituting an old list
Add a newline to the end of a file
ifying existence of pathnames, taken up a notch...
De-engineer a number
Convert a number (for example 404) into a string ("four hundred four")
Round a Number to Any Place
Print a number with grouping in a European style
front-pad a number with zero's
Does it look like a number?
Reading file into a numbered hash
Drag-and-drop encrypting files in a pen drive
how to output to pdf from a perl script
Install a perl script as a Win NT/2000/XP service.
generate a perl script header
A perl shell (sorta)
A Picture A Day
Parsing/Evaluating a prefix-notation equation using sexeger
Fool a process into thinking that STDOUT is a terminal
feeding text to a process, and capturing its output, safely
A Procrustean Statement
List all modules and versions used by a program
A whirleygig for a progress indicator for scripts
Extracting a Query string
A quick and dirty template system
Subset-Sum in a Regex
Generating regex strings with a regex
Find hardlinks and symlinks in a region of the filesystem
Determine absolute URL given a relative URL and the location where it was found.
Using WMI for create a remote Process on Win32
PadViewer - a riff on PadWalker
computing a running total with with map
Finding a safe char with tr///d
write/format hash data to a scalar in multi-line columns
Load file into a scalar without File::Slurp
sendmail.pl - a Sendmail replacement
Adding gaps to a sequence
Generate a session ID
Partition a set of files into subsets of (roughly) equal size
Substitute (s///) a set of times
Unique filenames in a shared directory (The Kitchensink)
A simple but good debug routine..
Building a Simple Perl Module Database
A simple perl shell for Windows
extract options from a simple string
variables to arrays using as defined by a single list
A singleton wrapper around Cache::Memcached
A Socket Streamer Subroutine
Numbers as a stream of letters
Nicely format a list or a string
Double Interpolation of a String
Locate char in a string
Regex to find URLs in a string
Rotating a string
Removing Stopwords from a String
Find duplicate chars in a string
Emphasize a string
parated, optionally quoted words out of a string
Read the first character of a string
coderef as a string
Generate GUID from a string
Convert a number (for example 404) into a string ("four hundred four")
Truncate a string (news lead?)
Decode a string from a URL
Slice a string into equal-length chunks
Encode a string to be suitable for a URL
Put your inplace-edit backup files into a subdir
Count the number of return values from a subroutine
Replacing a Subroutine at Runtime
Debugging a system command
open-coding a system() operation
pod2text with a Table of Contents
Add a task to Outlook 2000
Soliciting input via a tempfile passed to an external editor
a process into thinking that STDOUT is a terminal
Count number of lines in a text file
Only let one copy of program run at a time
ghlander - allow only one invocation at a time of an expensive CGI script
Set a time triggered reminder with NetSend
embedding xterm into a Tk app
embedding Dillo Html browser in a Tk app
Insert something like a hyperlink in a Tk Text widget
ons (ie, title-bar and WM buttons) from a Tk window
Center a Tk window on the screen
Close all child nodes in a Tk::Tree
crop-sort: Maintaining a Top-10 Array
One-liner to build a Trie
"Looking" at the characters of a Unicode string.
Return a Unique Array
Encode a string to be suitable for a URL
Decode a string from a URL
A very simple userid/password check
Visualize a Waveform using Tk and PDL
Maintain GET parameters when REFRESHING a web page.
Re-write all internal links on a web page.
How to display an image on a webpage with minimal code
A whirleygig for a progress indicator for scripts
Tk: Set text size in a widget
Install a perl script as a Win NT/2000/XP service.
Un--gui a Win32 PAR .exe
Enumerate hotfixes applied to a Windows server (2000, 2003)
Creating a Windows shortcut file
Create a Zip archive
Swap-a-roo
Stemplot A.K.A. Stem and Leaf Plot
Stemplot A.K.A. Stem and Leaf Plot
ABA validator
Abbreviate english words
Learning about users
Convert relative to absolute URL given a base URL, without modules
Determine absolute URL given a relative URL and the location where it was found.
Convert Relative to Absolute URLs on-the-fly
Poor Man's Abstain
Abstract Packages
DBI abstraction
TMTOWTDI, WMI, and map abuse
Academic subref example
Accent-insensitive case conversion
Convert accented chars to html escape codes
Accept Any Basic Authentication (mod_perl)
e commands that expect filename args to accept piped input
Accept user options with defaults and report unknowns.
Retrieving the last insert ID with Access
CGI: Validate access based on IP - with CIDR support
Tk-tool for remote access on win-services
g up signal handlers for an object with access to $self
WIN32 DIRECTORY ACCESS/ READ
Tied array to track last-accessed element
accessor/mutator with AUTOLOAD
s.pl - Pull content from your webserver according to .htaccess
Rename digital camera pictures according to date
Elfproef (Dutch bank account check)
Usage via Pod::Usage accounting for user variation
Cleanup ALerts in Snort/ACID Mysql DB
SCORBOT "acl" language compiler
Acronym Finder
Deactivate/Activate Keyboard and mouse under Win32
Active Directory Object Handles
Fix ActiveState Script Maps (IIS)
Get actual IP over NAT
Ad-hoc testing of [tie]d variables
Add "search this site with google" to your web site
add a IIS FtpVirtualDir
Add a list of numbers together
Add a newline to the end of a file
Add a task to Outlook 2000
Automatically add all defined functions to your @EXPORT
add defang wrapper to "use lib"
array add/sub/mult/div
Add/update daily journal (emacs/linux)
Adding 2 + 2
Adding files to Archive::Tar
Adding gaps to a sequence
Adding script location to include path
Adding text to PDL's TriD 3d graphs
What is it adding to my symbol table?
Matching an IP address
Sort by Email Address
Token-Ring MAC-Address
generate random MAC address
Palm::Address Birthday-/Anniversary-Extractor
Filter for Earthlink Address Book
Dump Evolution address book
Converting numeric IP address to hex
Reduce email address to its minimum expression
Poor man's email address validation function
Finding your IP address with Perl
IP address!
Validate domain in e-mail addresses
Slick way to upload dynamic IP addresses
Removing padding from numeric IP addresses
valid email addresses
olf) Expression for matching numeric IP addresses
Converting hex IP addresses to decimal
How many addresses between two IPs?
Check IP addresses for good form
Hiding mail addresses in mailto: with JavaScript
Getting own ip-addresses on Win32 machines
Pulling email addresses out of Csv file exported from Exchange
Sorting ip addresses quickly
Converting decimal IP addresses to binary
Automatically Convert web addresses to HTML link tags
g idiom in list context (formatting MAC addresses)
Sorting IP addresses, lots of them, quickly
(code) One-liner adds HTML breaks to text file
Addtoblog
Email::Find to ignore URI's and e-mail addys in HTML tags
Adjust German HTML Typography
midi playback speed adjuster
Multiple Tk::Adjuster's with pack layout manager
batch rgb brightness and contrast adjustment
Fetch a cookie to disable X10 popup ads
Advanced snippet management with YAML and Perl
List-to-Range (Advanced)
Advantages of Tk::Zinc over plain Canvas
explosive, fun, thrill-packed, exciting adventure
Getting the latest IP after dial-up
Variable possession after script death
remind me again ...
enumeration, again...
multiple method calls against the same object (f.ex GUI programming)
multiple method calls against the same object, revisited
Random User-Agent
NewsIsFree agent
Bilingual German news aggregator
Perl RSS aggregator
Get the date (MySQL style) for X days ago
Record Separator Study Aid
Plowing AIX errpt contents into a hash for processing
Parsing bizarro AIX errpt timestamps into English (or SQL DATETIME) format.
WhichHost AKA pingtest.pl
piping into -pie (aka site-wide search and replace in a line)
ds from children, their children, etc. (aka: pipeline of system(@list) calls)
Final Fantasy X: Al Bhed translator
Simultaneous alarms < 1 sec
Cleanup ALerts in Snort/ACID Mysql DB
Chaikin Spline Algorithm
Depth-first tree traversal with Algorithm::Loops::NestedLoops
Useful Date Algorithms
hostname aliases
Preserve @_ aliasing a (scalar||array)
Lexical aliasing sub params
Text aligner (in table)
Keeping interactive net session alive
Keeping browsers alive for long lived CGIs
any-all
Remove broken symlinks with IO::All
Generate all (0,1)-sequences in lexicographic order
Show All Characters in Text
Close all child nodes in a Tk::Tree
One liner to read all cookie key/vals into a Hash...
Remove all decorations (ie, title-bar and WM buttons) from a Tk window
Automatically add all defined functions to your @EXPORT
Searching all Excel files in a directory
Lowercase all filenames within a directory
All files in dir to Storable.pm data
Finding all files that are writeable by the current user
Export All Functions from a Module
Re-write all internal links on a web page.
Inverting a hash to get all keys for this value
kill all lines that don't start with something
exclude all members of @a from @b
List all modules and versions used by a program
Grab a list of all modules on CPAN + their descriptions
List all perldoc FAQs
Remove all shared memory segments created by a certain user.
Characters Combinations of All Sizes
replace all spaces within anglebrackets with underscores
Import all subroutines from another package whether it wants to export them or not!
See all the fonts you have available in Tk
Show all unicode characters
Find all webservers on local domain
Verify string contains ALL words in list
All-purpose data dump subroutine
Tweak all_forms variable in glade code files
Highlander - allow only one invocation at a time of an expensive CGI script
Going it alone without File::Find
grep2 (like 'grep', but also return non-matches)
alternate parsing method for options
Alternate start rules in Parse::Yapp
Alternative for Search::Dict
An alternative to File::Find
grep text (alternative)
What shell am I running?
Who am I?
amavis logfile/viruspart parser
AmpKiller.pm to disallow $&, etc.
An alternative to File::Find
Track the filename/line number of an anonymous coderef
Getting an ANSI X.12 file's delimiters
Confirm an application opens (win32)
Day of week for an arbitary date using core modules
Randomly Choose an Element from an Array
Deleting an element from the middle of an array
Directory Listing to an Array
Stepping through an array
Find unique elements in an array
Rename Duplicate List Elements in an Array
function that returns the middle of an array
HTML Tables - populating TD from an array
Generating an array of n identical elements
Return an Array of Sub-Dir Names
Use an array slices
Most frequent element in an array.
parsing an ASP file
Recursively walk a hash to get to an element
Randomly Choose an Element from an Array
Deleting an element from the middle of an array
allow only one invocation at a time of an expensive CGI script
Local::Config - an extension to App::Config
liciting input via a tempfile passed to an external editor
Getting your real external ip from an external source.
Constructing an HTML anchor link with form elements
Grab zip codes out of an HTML page
How to display an image on a webpage with minimal code
Imager: slice an image to clickable html map
Create an interactive Excel web page
Monitor Bandwidth on an Interface
Finding an intersection of two sets, lean and mean
Matching an IP address
Tun an IP into a decimal number
Dump an LDAP entry
Cloning Pieces of an Object
Make an object method "protected"
Find names of an object or class's methods
Setting up signal handlers for an object with access to $self
building sequences like an odometer
make a new list by substituting an old list
Reading data from an open PowerPoint Presentation
Reading data from an open Word Document
Connect to an SMTP Server that Requires Authentication
Using Expect.pm to Manage an Unreliable Program
How to change an xterm title on the fly
Anagram Solver
Find anagrams
Create anagrams simply
Bash analog for Perl's nifty list constructor
Make analog work with non-ASCII data
LWP Analysis
Basic frequency analysis of Checkpoint FW-1 rulesets
Nearest Neighbour Analysis subroutine
Constructing an HTML anchor link with form elements
Format a list with commas and "and"
Tied scalars to emulate $&, $' and $` without global performance hit
Remove '.' and '..' from a list of filenames
Quick and (dirty?) menus for the console
Perlscript in IIS and 2 byte character codes
Include files using Text::Template and a closure
initializing a hash with a list of keys and a list of values
(X)Emacs Skeletons and Auto-Insert
supressing console with perl2exe and backticks
Dynamically loading perl files (and calling dynamic functions) with error checking.
Tk Screen and Canvas Screenshots
feeding text to a process, and capturing its output, safely
Unconfuse filehandles and classes
Converting and cleaning Word's HTML export to valid HTML
Email obsfucator for HTML posting (and color blender)
Permutations and combinations
batch rgb brightness and contrast adjustment
Backing up with Open3 and dar
Module::Install and Debian packages
Informative debugging messages and debug levels
Encode and decode binary-coded decimals
Timestamping your warns and dies
Union, Intersection, and Difference between Arrays
finding union, intersection and differences of arrays
anti-tar - remove mis-extracted files and dirs
Quick and dirty counter
Quick and Dirty Everyday Email Subroutine
Quick and Dirty Hash
Quick and Dirty mIRC Interface
Quick and dirty obfuscation
Quick and Dirty Seti@home Server Status
A quick and dirty template system
String Finder and Displayer
Tk Drag and Drop between TList widgets
xd and dx -- hexdump for debugging purposes
Deriving pi and e
I::Find and Email::Find to ignore URI's and e-mail addys in HTML tags
Find and edit module
Fixing URI::Find and Email::Find to ignore URI's and e-mail addys in HTML tags
File::Wrap and Fasta format
look and feel Tk colors
look which and from where modules were included
http:// and ftp:// parser
Find varibles and function names in program files
combining Tk and Gtk2 loops
grab HTTP Response and Headers
serve different index pages for WAP/WML and HTML clients
Declaring and initializing a hash with a list of keys and a list of values
Serial Port and IO Termination
Stemplot A.K.A. Stem and Leaf Plot
Compare Directories and List Changed or Missing Files
Using Mail::Audit and Mail::SpamAssassin together
TMTOWTDI, WMI, and map abuse
nding an intersection of two sets, lean and mean
- find which perl module you are using (and more)
Deactivate/Activate Keyboard and mouse under Win32
Last insert ID with Transactions and Mysql
Generic and nestable STDIN/STDOUT capture routine
Grep - print matched line and next N lines
Permuting with duplicates and no memory
Toggle browser proxy on and off
Break into and out of frames pages with Perl CGI
tf - tail a file and output separator line when inactive
Universally unimportant and overused
gtk image viewer with zoom and pan
Put name and password in URLs
Visualize a Waveform using Tk and PDL
Constants and perl
Advanced snippet management with YAML and Perl
Permutations, Getopt::Long, and Pod::Usage
Creating vars from URI and printing %ENV
Parsing and Producing CSV
search disk and prompt for deletion of files larger than a certain size
[Perl 6] say, junctions, conditional, and quick numeric list...
Parse line into fields of words and quoted strings
password (and random string/salt) generator
act multi-line inplace file edit search and replace
piping into -pie (aka site-wide search and replace in a line)
Accept user options with defaults and report unknowns.
Testing hash equality and reporting differences
CaptureStructure and RestoreStructure
bcd2ascii and reverse
index and rindex for arrays
Tk encrypted echoing-chat client and server
Position and size Tk top level window
extracting splices with a for-loop and splice()
Intermixing STDOUT and STDERR to a file
ftp, and store file in memory instead of persist to disk
Commify numbers, the boring and straightforward way
Disk Space used by a folder (and sub folders)
Compare files between two directories (and subdir)
Sorting list of domain names by TLD and subdomain
Getting hostname, domainname and subdomainname
the "Other Users XML Ticker" with index and substr
"Private Message XML Ticker" with index and substr
Short and Sweet Browser Detection
Find hardlinks and symlinks in a region of the filesystem
ecursively traverse two data structures and test for match
Getting and testing OpenNAP servers
rmine absolute URL given a relative URL and the location where it was found.
s performing file updates, SQL queries, and the passing of results to the parent using Parallel::ForkManager
Retrieve list of used modules and their version numbers
(code) I Rest My Case (and this time I mean it)
Basic latency timing using Net::Ping and Time::HiRes
SuperFormula with gnuplot and Tk
Simple golfifying and TPR testing script
DBI Select and Update
Extracting xml data and using them for SNMP
List all modules and versions used by a program
clean Telnet ANSI escape codes: VT52 and VT100
England and Wales Date::Manip *Holiday config 2005 to 2008
CGI Traceroute, Ping, and wget
vert image to greyscale (color to black and white)
Deosil and Widdershins
Remove all decorations (ie, title-bar and WM buttons) from a Tk window
Read and write Windows "shortcut" links
Reading and Writing Perl Config Files
DBIx::Recordset and XML::Simple Example
Format a list with commas and "and"
Get input data from STDIN *and* query string
Drag-and-drop encrypting files in a pen drive
replace all spaces within anglebrackets with underscores
graphical Log-anlyzer
Palm::Address Birthday-/Anniversary-Extractor
Gtk2-annotate-draggable texts on image
Track the filename/line number of an anonymous coderef
localizing handles with anonymous subroutines
Yet Another "Matching over a list of conditions"-like technique
Yet Another Daemonization Stub
Another date parsing technique
Merge hash into another hash
Yet Another List to Range function.
Another lowercase one-liner
YAL10CI (Yet Another LUHN-10 Checksum Implementation)
Import all subroutines from another package whether it wants to export them or not!
Simple sorting by another parallel array
Yet Another Scratchpad Downloader
Recursively run another script
Another take on command line switches
Yet Another Tar-Gzip File Expander
Yet another unpack wrapper: flatfile databases with fixed width fields
Yet another whois client (only in perl)
outputing data to another xterm
(Yet Another) Safely eval Data::Dumper objects module
clean Telnet ANSI escape codes: VT52 and VT100
Getting an ANSI X.12 file's delimiters
Do/while correct answer loop
View Apache Ant buildfile dependencies with GraphViz
anti leech CGI
overkill anti-caching CGI headers
Anti-snippet (or, "local" considered dangerous to fools")
anti-spam email encoder
anti-tar - remove mis-extracted files and dirs
AntiVirus Signature Updater
Accept Any Basic Authentication (mod_perl)
chomp any data structure recursively
Find any email in your Outlook inbox that matches certain criteria
image.cgi for any image from DB
Expiration day of any month
Round a Number to Any Place
Dumping from any RDBMS to CSV
dbg - put any script in debug mode
any-all
<=> - not only for sort anymore
flexible config for anything
convert aoh to aoa
Depth of AoAs
convert aoh to aoa
View Apache Ant buildfile dependencies with GraphViz
Apache IP-Autoupdater
apache log splitter
apache2epoch
Win32 API directory searches that return wide / unicode filenames
Client / Server app
embedding xterm into a Tk app
embedding Dillo Html browser in a Tk app
Local::Config - an extension to App::Config
append-dns.pl
Using Template with CGI::Application
One line CGI::Application instance script
Get the source code for the running application into a hash
Confirm an application opens (win32)
Enumerate hotfixes applied to a Windows server (2000, 2003)
Printing in appropriate columns (For Ozzy)
Call Subroutines by Approximate Name
Monte Carlo approximation of PI
Approximation with chain fractions
Multimedia keys in perl-Gtk2 apps
Tk Realtime data aquisition
Day of week for an arbitary date using core modules
Match nested parens of arbitrary depth in 56 characters
Seeing if a hash has one arbitrary key
Synthetic strings dereference arbitrary pointers
Format your source code into arbitrary shapes
Create a Zip archive
Adding files to Archive::Tar
err_watch for when your errors are growing like hair or...
Testing that functions are imported
What Modules are Installed?
Test to see if directories are the same
perlwhich - find which perl module you are using (and more)
Finding all files that are writeable by the current user
Telephone Area Code Finder
argmin & argmax
argmin & argmax
getting args for cgi scripts (removed)
ux: force commands that expect filename args to accept piped input
Getopt::Long-based commandline argument replacement substitution expansion
Handling named function arguments
Prompting via shell with default arguments
Named arguments in Perl5. Sorta.
Fix wildcard arguments under MSWin
Ensuring the correct number of arguments, assigning them or printing usage
A singleton wrapper around Cache::Memcached
Return a Unique Array
Reformat Array
Randomly Choose an Element from an Array
Simple sorting by another parallel array
leting an element from the middle of an array
remove duplicates from array
crop-sort: Maintaining a Top-10 Array
sort a hash array
Database Table to Hash of Hash of Array
Directory Listing to an Array
Stepping through an array
Find unique elements in an array
Name/pair values from a multilevel hash/array
Rename Duplicate List Elements in an Array
function that returns the middle of an array
HTML Tables - populating TD from an array
array add/sub/mult/div
get time array from range
Split array into smaller arrays by total of element values
Array iterator factory
Array of Hashes
Sort Array of Hashes by values of multiple hash keys.
Generating an array of n identical elements
Return an Array of Sub-Dir Names
Array One-liners
(code) Array Play
Array sifting
Array sifting, maintaining order
Converting string ranges to array slices
Use an array slices
Parallel Array Sorting
Two-dimensional array to "Excel" format
Tied array to track last-accessed element
(code) neither clever nor useful array vs. hash example
Preserve @_ aliasing a (scalar||array)
Array-ize a function
Most frequent element in an array.
Comparing Arrays
looping over multiple arrays
interleave two arrays
n, Intersection, and Difference between Arrays
index and rindex for arrays
union, intersection and differences of arrays
whitespace eliminator for arrays
Autogenerate descending arrays
Find common elements in a list of arrays
Two Arrays - One Hash (one-liner)
Printing multiple arrays as multiple column
Split array into smaller arrays by total of element values
Merging two @ARRAYS into a %HASH
map variables to arrays using as defined by a single list
Perl 6, arrays, hashes, subroutines & basic file IO
Scan memory for sub,scalars,arrays,hashes,packages...
Non- recursive permutation of arrays.
[ASCII art graphs] Kisses
Fetch Arts & Entertainment Show Details
Switch/case as a dispatch table with C-style fall-through
Timestamp as a Filename Collection
Numbers as a stream of letters
coderef as a string
Install a perl script as a Win NT/2000/XP service.
Visualize packed data as bits
map variables to arrays using as defined by a single list
file (mp3) list shown on website as links
Dump a directory as links from CGI
Real-time IE/opera "my favorites" shown as links on site
Printing multiple arrays as multiple column
ndle - Operate on multiple file handles as one
Dump MIDI as Perl Code
Print cmpthese results as times rather than rates
Marking failing tests as TODO by number
Saving Powerpoint presentations as web pages
Create a constructor named the same as your package name!
Hybrid Logic ASCII - TeX
[ASCII art graphs] Kisses
ASCII Christmas tree generator
Make analog work with non-ASCII data
ascii directory tree recursive
ASCII Rulers
Parse fixed-length ascii table
Ascii to HTML
Asian text vs. (s)printf: CJKprintf
parsing an ASP file
suring the correct number of arguments, assigning them or printing usage
Tie::AssignWrapper
.vimrc options to assist with perl coding
Computer Assisted Gloating
Associate a config file with a Class::DBI class for meta information
one-liner peeks at @INC
Look at a module's source-code
Only let one copy of program run at a time
Highlander - allow only one invocation at a time of an expensive CGI script
Web Interface to the at Command
Easy binary toggle at fixed intervals
[off-site] Perl snippets at Microsoft
ren, but never more than a fixed number at once.
Replacing a Subroutine at Runtime
Try your luck at Superenalotto!
"Looking" at the characters of a Unicode string.
Verify web proxy servers at www.publicproxyservers.com
Sending SMS msgs to AT&T phone / Coping with forms that want cookies
Atomically increasing sequential numbers
MIME Attachment Extractor
attachment filename substitution (used by mutt)
MAC Attack
Flash slideshow with audio
Children's Gtk keyboard trainer with audio
Flash/w/audio with SWF::Builder
Using Mail::Audit and Mail::SpamAssassin together
Meteorology::Australia
Small test harness for testing basic auth
(code) LWP with auth proxy
Connect to an SMTP Server that Requires Authentication
Accept Any Basic Authentication (mod_perl)
Auto download files with time stamp
Magical Auto-Decrement
Auto-document prerequisites in README
(X)Emacs Skeletons and Auto-Insert
Autogenerate descending arrays
Autogenerate Test Scripts
range-based magical autoincrement
accessor/mutator with AUTOLOAD
Inheritable AUTOLOAD mechanism
Finite State Automata with XML::Twig
Automate CPAN install of Bundle::MySQL
automate your linux window manager
Automatic McAfee AV Signatures Update
Automatically add all defined functions to your @EXPORT
Automatically Convert web addresses to HTML link tags
Automatically using mod_perl
Automating generation of html form elements
Automating Wise for Windows Installer - wfwi
Apache IP-Autoupdater
Shorten one liners with Class::Autouse
Autovivification trick
Automatic McAfee AV Signatures Update
Check availability of multiple FTP servers
Use a module only if it is available
See all the fonts you have available in Tk
moving average
Ordering hash replacements to avoid clobbering things (update chaining)
perl2exe Evaluation Message Avoider
exclude all members of @a from @b
Base31 removes those BAAAD words ;)
Tk Babelizer
(code) WindowMaker background image rotater
Stationary background on Scrolled Tk-Canvas
Rotate Backgrounds
Backing up with Open3 and dar
supressing console with perl2exe and backticks
Get file make backup
Log file backup
Put your inplace-edit backup files into a subdir
*nix mySQL backup script using mysqldump
Stripping bad entries from a constructor
Determining if you have balanced delimiters
balancer (process time/file size)
Tk 8-ball
Monitor Bandwidth on an Interface
Elfproef (Dutch bank account check)
wget style progress bar
Remove all decorations (ie, title-bar and WM buttons) from a Tk window
Spinning progress bar.
Barcode PNGs from DB
barjaph
prime factorization using base 1
A cacheing tied hash base class
ut the extension of a filename - return base of filename.
onvert relative to absolute URL given a base URL, without modules
Data Base Viewer
Base31 removes those BAAAD words ;)
Base64 by the (cammel) book
Getopt::Long-based commandline argument replacement substitution expansion
Pattern for Inline-C-based crunching
LWP w/ Cookie Based Logins
range-based magical autoincrement
CGI: Validate access based on IP - with CIDR support
Tk: Change menu item based on Notebook tab
Non-tty based passwd
MD5-based Unique Session ID Generator
[off-site] Bash + Perl oneliners basics
Bash analog for Perl's nifty list constructor
Small test harness for testing basic auth
Accept Any Basic Authentication (mod_perl)
Perl 6, arrays, hashes, subroutines & basic file IO
Basic frequency analysis of Checkpoint FW-1 rulesets
Basic latency timing using Net::Ping and Time::HiRes
Basic Linux system information
Basic password checking
Basic SQL Server Interaction
[off-site] Bash + Perl oneliners basics
SetEnviron.bat
Self-logging .bat file
batch expand Windows compressed printer driver files
drive share batch file writer for win32
DBI::Shell Version 10.7 - batch mode - patch to make it work
Batch processing progress printer
batch rgb brightness and contrast adjustment
Light batch XML indenter
How to read batches of SQL from a file in Perl
Checking Laptop battery info
Swapping odd-even characters of BCD hex data
bcd2ascii and reverse
Cool usage for BCP/SQLServer
st of NUL-delimited names from STDIN to be processed
ively updating a file that continues to be repeatedly read
Encode a string to be suitable for a URL
Beautify
Because PHP sucks: escape to Perl.
Read a line with <> before \n
Quiting gracefully before Memory is exhausted
BEGIN simplifies multi-platform programs
Matching nested begin/ends
Being lazy with MIME::Lite
Benchmark made easy
Emulate Benchmark::cmpthese with older perls
Statistics: Jarque-Bera normality test
Union, Intersection, and Difference between Arrays
HTML tag compares between similar files
measuring the similarity between strings
Tk Drag and Drop between TList widgets
[Win] Compare files between two directories (and subdir)
Detect common lines between two files, one liner from shell
How many addresses between two IPs?
Showing differences between two sequences
Unique List of Common Characters Between Two Strings
BF Interpreter
Final Fantasy X: Al Bhed translator
Non-Blocking Bidirectional Communication using Unix Sockets
showing big tables with navigation
saving a Gtk2 canvas which is bigger than the window
bigrm: remove everything in the directory specified
Bilingual German news aggregator
Converting decimal IP addresses to binary
Binary decoder
Check for "unix2dos" (CRLF) in binary files
Binary search
Binary Search - revisited
Binary Searches on Sorted Text Files
Binary to Decimal (zdog's way)
Easy binary toggle at fixed intervals
Turn your script into binary without a compiler! :-P
Encode and decode binary-coded decimals
DBI bind output vars by column name
Dynamic SQL Bind values
template for using bind_columns with DBI
Interpolate binds into SQL on error - DBI subclassing
ease binmode STDIN; binmode STDOUT
ease binmode STDIN; binmode STDOUT
Palm::Address Birthday-/Anniversary-Extractor
IEEE 754 64-bit double to 80-bit Extended double (long double) pack (Updated).
bit Extended double (long double) to 64-bit double unpack
xtended double precision to IEEE 754 64-bit double-precision
IEEE 754 64-bit double to 80-bit Extended double (long double) pack (Updated).
IEEE 754 80-bit Extended double (long double) to 64-bit double unpack
IEEE 754 80-bit extended double precision to IEEE 754 64-bit double-precision
bit flag generator
64-bit hex integer representation under Win32
mod_perl - making the x-bit select mod_cgi
fast shift of bit vector
ersion info from .exe/.dll-files (16/32-bit)
Visualize packed data as bits
Parsing bizarro AIX errpt timestamps into English (or SQL DATETIME) format.
convert image to greyscale (color to black and white)
Easy blacklister for qmail
Cheap load sharing BLAST server
HTML color blend
obsfucator for HTML posting (and color blender)
blessed
From a Blessing to a Curse
blinkenlights
Who bloated my server?
Error handling using a block with continue
Non-Blocking Bidirectional Communication using Unix Sockets
Non blocking connect
Non-blocking TCP connections
Get # of 512 byte blocks
Tk GUI -- How to use BLT from Perl
ICON TO BMP (using Image::Magick)
Forward mail body to GSM phone
(very silly) BOFH::Easy (instantiated in Net::Telnet)
Hit bomber
Base64 by the (cammel) book
Filter for Earthlink Address Book
Dump Evolution address book
Copy bookmarks
Netscape Bookmarks to Hash
k of Learning Perl in O'Reilly's top 25 books
linux boot time
Commify numbers, the boring and straightforward way
Telnet chat Bot client
Terminal Window Title Text Stringy Bouncer Thingy.
Boustrophedon
TK login box
SDL Console Text Box
flower box comments with Vim
Brainf*ck interpreter
fs branch point - common parent dir
Querying brazilian CEP (postal code) webservices
Breadth-first method dispatch
Break into and out of frames pages with Perl CGI
How to disable ctrl-break on Win32 (Windows XP SP2 Perl 5.6.1 built 630)
(TIMTOWDI) Breaking a config file into name/value pairs
Breakpoint on warn or die in the debugger
Inline Breakpoints for ptkdb
(code) One-liner adds HTML breaks to text file
batch rgb brightness and contrast adjustment
UDP Broadcaster
howto UDP broadcasts
Remove broken symlinks with IO::All
snippet browser
Display Pod in your web browser
rl CGI Tip: Send error messages to your browser
Short and Sweet Browser Detection
embedding Dillo Html browser in a Tk app
Toggle browser proxy on and off
Opera + Firefox browser Shortcut for searching CPAN & Perldoc
Keeping browsers alive for long lived CGIs
Browsing .pod files on WinNT
Range search on a DB_File BTREE
Simple bubble sort
Making bubble sort look good
Update the current region/buffer in Emacs via Perl
Circular buffer instead of shift/push
IPC3 buffer limit problem
Experimental sprintf overflow bug detector
One-liner to build a Trie
build hash from csv file
Flash/w/audio with SWF::Builder
Easy matrix builder
View Apache Ant buildfile dependencies with GraphViz
Building a Simple Perl Module Database
building sequences like an odometer
eak on Win32 (Windows XP SP2 Perl 5.6.1 built 630)
Renaming bunches of files
Automate CPAN install of Bundle::MySQL
Burma Shave
Next business day.
grep2 (like 'grep', but also return non-matches)
A simple but good debug routine..
Many children, but never more than a fixed number at once.
Gtk2 Icon Button change text
Win32: mouse button swapper
submit button with javascript confirmation
e all decorations (ie, title-bar and WM buttons) from a Tk window
move all shared memory segments created by a certain user.
Disk Space used by a folder (and sub folders)
List all modules and versions used by a program
ap variables to arrays using as defined by a single list
Simple sorting by another parallel array
Call Subroutines by Approximate Name
Sort Multidimensional Hash By Column
DBI bind output vars by column name
Lotus Notes documents by Date keys
Sort a long list of hosts by domain (code)
Sort by Email Address
quick change dir by menu
Sort Multidimensional Hash By Multiple Columns
attachment filename substitution (used by mutt)
Marking failing tests as TODO by number
View smbstatus ouput by user, not by PID
Passing Hashes by Reference
Rebinding closures by scope
make a new list by substituting an old list
Sort VCards by Surname
Base64 by the (cammel) book
Finding all files that are writeable by the current user
GRT sort of files by time
Sorting list of domain names by TLD and subdomain
Split array into smaller arrays by total of element values
@INC By uname -r
View smbstatus ouput by user, not by PID
Sort Array of Hashes by values of multiple hash keys.
Howto get the first day of the week by week number
Fetch weather by zip code
line-by-line input with size limit
cpu-usage-by-pid