Thread
:
PERL - The String Form: Expression Evaluation
View Single Post
pradeep
Team Leader
13Jul2010,18:49
Easy way of 'slurping' contents of a file
Code: Perl
open
H,
"<file.txt"
;
my
$data
=
do
{
local
$/;
<H>
;
}
;
close
H;