reading_entire_file_into_a_string
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
reading_entire_file_into_a_string [2017/04/05 16:43] – created juckins | reading_entire_file_into_a_string [2018/05/22 16:24] (current) – juckins | ||
---|---|---|---|
Line 10: | Line 10: | ||
< | < | ||
- | # put contents of the file we saved into a variable | ||
open (READ_WGET_FILE, | open (READ_WGET_FILE, | ||
$file_contents = do { local $/; < | $file_contents = do { local $/; < | ||
+ | close (READ_WGET_FILE); | ||
</ | </ |
reading_entire_file_into_a_string.1491425009.txt.gz · Last modified: 2017/04/05 16:43 by juckins