Slurping a file into a string in Perl

Posted by dreeves on Stack Overflow See other posts from Stack Overflow or by dreeves
Published on 2008-10-15T21:55:47Z Indexed on 2010/03/23 11:33 UTC
Read the original article Hit count: 360

Filed under:
|
|
|
|

Yes, There's More Than One Way To Do It™, but what is the most canonical, most efficient, and most concise methods to read an entire file into a string? (The latter two are perhaps at odds.)

© Stack Overflow or respective owner

Related posts about perl

Related posts about files