Skip to content

Commit

Permalink
Minor fix for IO.get
Browse files Browse the repository at this point in the history
  • Loading branch information
tene committed Dec 11, 2009
1 parent 6ee78ed commit 77ed1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO.pm
Expand Up @@ -15,7 +15,7 @@ class IO {

multi method get() is export {
my $x = $!PIO.readline;
return if $.eof && $x eq '';
fail if $.eof && $x eq '';
$!ins++;
$x.chomp;
}
Expand Down

0 comments on commit 77ed1d4

Please sign in to comment.