http://www.perlmonks.org?node_id=264883


in reply to Newline Delimited Input

Well, this line reads a newline delimited file into an array
@parts = <IN>;
so there you go. Here's what I'm curious about, and what will probably get your real (and unspoken) question answered -- What your script (or the chunk you've posted) should do in your mind, and what it's actually doing, and how the two differ.