Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix deprecation warnings
  • Loading branch information
lizmat committed Nov 27, 2014
1 parent 1e4fe4a commit 5823369
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/core/IO/ArgFiles.pm
Expand Up @@ -38,11 +38,9 @@ my class IO::ArgFiles is IO::Handle {
$!io.close;
}
while $!args {
my $fn = $!args.shift;
my $file = open($fn);
@chunks.push: $file.slurp;
@chunks.push: slurp $!args.shift;
}
return $*IN.slurp unless @chunks;
return $*IN.slurp-rest unless @chunks;
@chunks.join;
}
}
Expand Down

0 comments on commit 5823369

Please sign in to comment.