Help for this page
my @array = map { s/regex/replacement/ } @input;
use List::MoreUtils qw(apply); my @array = apply { s/regex/replacement/ } @input;