This is the revision history for slurp in <matrix.org:#rAnyijhRxzFRfdjSHl:matrix.org>
factoid_id | subject | copula | predicate | author | namespace |
---|---|---|---|---|---|
15891 | slurp | is | slurping is reading the whole file into memory in one go. Use Path::Tiny or File::Slurper or something like my $file_contents = do { local $/; readline($fh) }; after applying :raw or :encoding to $fh. Also see: https://perl-begin.org/topics/files-and-directories/#string_slurp_utf8 . Avoid File-Slurp and IO-All. | grinnz | <*:##NULL> |
14821 | slurp | is | slurping is reading the whole file into memory in one go. Use Path::Tiny or File::Slurper or something like my $file_contents = do { local $/; readline($fh) };. Also see: https://perl-begin.org/topics/files-and-directories/#string_slurp_utf8 . Avoid File-Slurp and IO-All. | rindolf | <*:##NULL> |
11187 | slurp | is | slurping is reading the whole file into memory in one go. Use File::Slurper or something like my $file_contents = do { local $/; readline($fh) };. Also see: http://perl-begin.org/topics/files-and-directories/#string_slurp_utf8 | pink_mist | <*:##NULL> |
10393 | slurp | is | slurping is reading the whole file into memory in one go. Use File::Slurp::Tiny or something like my $file_contents = do { local $/; readline($fh) };. Also see: http://perl-begin.org/topics/files-and-directories/#string_slurp_utf8 | pink_mist | <*:##NULL> |
10392 | slurp | is | slurping is reading the whole file into memory in one go. Use File::Slurp or something like my $file_contents = do { local $/; readline($fh) };. Also see: http://perl-begin.org/topics/files-and-directories/#string_slurp_utf8 | pink_mist | <*:##NULL> |
9695 | slurp | is | slurping is reading the whole file into memory in one go. Use File::Slurp or something like my $file_contents = do { local $/; <$fh> } . Also see: http://perl-begin.org/topics/files-and-directories/#string_slurp_utf8 | rindolf | <*:##NULL> |
8703 | slurp | is | slurping is reading the whole file into memory in one go. Use File::Slurp or something like my $file_contents = do { local $/; <$fh> } # | f00li5h | <*:##NULL> |
8702 | slurp | is | slurping is reading the whole file into memory in one go. Use File::Slurp or something like my $file_contents = do { local $/; <$fh> } # | f00li5h | <*:##NULL> |
8003 | slurp | is | - reading the whole file into memory in one go. http://www.perl.com/pub/a/2003/11/21/slurp.html Use File::Slurp, or some code like this: my $file_contents = do { local $/; <$fh> } # | f00li5h | <*:##NULL> |
5197 | slurp | is | http://www.perl.com/pub/a/2003/11/21/slurp.html Use File::Slurp, or some code like this: my $file_contents = do { local $/; <$fh> } # | perlbot | <*:##NULL> |