in reply to Re^2: Assigning multiple lines into first element of arrayin thread Assigning multiple lines into first element of array
...
my @counts = map s/.*\n//r =~ tr/A-Z//, @array; print "counts: @counts\n"; [download]