in reply to Re^2: Problem with reading the total file into variable
in thread Problem with reading the total file into variable

seems nobody proposed it so here is a way to do it

perlintro and Modern Perl both discuss this

They also avoid a loop to slurp a file

  • Comment on Re^3: Problem with reading the total file into variable

Replies are listed 'Best First'.
Re^4: Problem with reading the total file into variable
by QuillMeantTen (Friar) on Aug 25, 2015 at 09:03 UTC

    OOps sorry, I am still learning my way through the nodes I'll delete my redundant previous redundant post