#!/usr/bin/perl -w use strict; use LWP::UserAgent; use XML::Simple; use Term::ReadKey; use Getopt::Long; use Data::Dumper 'Dumper'; $Data::Dumper::Terse = 1; use Digest::MD5 qw(md5 md5_hex md5_base64); $| = 1; # Ugly regexps for the un-substitution feature: my $category = qr/[ _]*(?i:Category[ _]*:[ _]*T)alk[ _]pages[ _]of[ _](the[ _])?deleted[ _]replaceable[ _]fair[ _]use[ _]images[ _]*/; my $unsubst = qr(