in reply to Re^2: array input "@array = lc(<>)"
in thread array input "@array = lc(<>)"

yeah I just did:

chomp(my @input = map {lc} <>);