Created
February 13, 2015 14:34
-
-
Save Tux/9e4a125bfe499e63c9eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
method getline (IO $io) { | |
my Bool $chomped = $io.chomp; | |
$io.chomp = False; | |
$!io = $io; | |
self.parse ($io.get); # Continue with next line on 2027 | |
$!io = IO; | |
$io.chomp = $chomped; | |
return @!fields; | |
} # getline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment