Thank you! Question: there is a comment in the code about slurping the entire file into $data. I attempted to circumvent this concept by deleting: $data = <SLURP>; so, my question is whether or not the pgm is still reading the entire file. In short, the comment is misleading. :-(