- or download this
use strict;
use warnings;
my $s = do { local ( @ARGV, $/ ) = 'x'; <> };
$s =~ /x/;
- or download this
$ /usr/bin/time -f %M perl fmap.pl
- or download this
use strict;
use warnings;
use File::Map qw/ map_file /;
map_file my $s, 'x', '<';
$s =~ /x/;
- or download this
$s =~ /x/;
$s =~ /x/;
$s =~ /x/;
$s =~ /x/;
$s =~ /x/;