#!/usr/bin/perl use strict; # https://perlmonks.org/?node_id=11158577 use warnings; for ( split /\n/, <