elegidito
Programmer
- Jan 19, 2002
- 358
Code:
#!/usr/local/bin/perl
$lfile = 'blah.txt';
# read file into var called buffer.
open(IPF,"<$lfile") or die "failed to open log file";
while (<IPF>) { $buffer .= $_; }
close IPF;
print "the $buffer";
exit(0);
Got a question? Ask IMOZRMY!