in reply to read file a paragraph at a time and return paragraph OR get specific data from paragraph

You are trying to demonstrate a simple concept with a very complicated, very specific example. This use of a changed value for $/ is covered in perlop where it is used to read in not paragraphs but the entirety of a file.

1 Peter 4:10
  • Comment on Re: read file a paragraph at a time and return paragraph OR get specific data from paragraph