Skip to content

Commit

Permalink
Merge pull request perl-doc-cats#119 from rwp0/patch-1
Browse files Browse the repository at this point in the history
perlfaq5.pod: Add missing semicolon
  • Loading branch information
davorg authored Mar 22, 2024
2 parents c2b59dc + 178e470 commit d972eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/perlfaq5.pod
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ If, for some odd reason, you really want to see the whole file at once
rather than processing line-by-line, you can slurp it in (as long as
you can fit the whole thing in memory!):

open my $in, '<', $file or die "Can't read old file: $!"
open my $in, '<', $file or die "Can't read old file: $!";
open my $out, '>', "$file.new" or die "Can't write new file: $!";

my $content = do { local $/; <$in> }; # slurp!
Expand Down

0 comments on commit d972eff

Please sign in to comment.