...the weird results.
#!/usr/bin/perl
use strict;
my @input = (1,2,4,8,16,32,64,128);
my @output = grep(/\d{2}/, @input);
my @output2 = map($_ * $_,@input);
print "grep = @output\n";
print "map = @output2\n";
#output
#grep = 16 32 64 128
#map = 1 4 16 64 256 1024 4096 16384
--...