in reply to Problem with reading the total file into variable

See also Re^3: How do I read an entire file into a variable? :)
  • Comment on Re: Problem with reading the total file into variable

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

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

      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

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