in reply to Re: Nested foreach
in thread Nested foreach

Lowercasing each line is simple. $line = lc $line; tr/// works fine, too.

Functionally, yes. But, lc is self-commenting. tr is not. Use the self-commenting one.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.