The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl

use warnings;
use strict;

use lib qw( . lib ../lib );
use Benchmark::Apps;

my $commands = {
   sed=> 'echo "1 22 333 4444" | sed -e "s/[1-9]\+/N/g"',
   perl=> 'echo "1 22 333 4444" | perl -p -e "s/[1-9]+/N/g;"',
};

my $results = Benchmark::Apps::run($commands);