Perl to the rescue!