in reply to dynamically created variables

That's a perfect use for an array, my @lines = <IN>; that way you don't need to keep track of all those names, and the number of lines adjusts the array size automatically.

After Compline,
Zaxo