my $file = 'sample.txt'; { local *FH; -f FH and sysread FH, my $file, -s FH; }
In reply to Re: How do I read an entire file into a string?
by particle
in thread How do I read an entire file into a string?
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |