Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[setting/Any-str.pm] implemented lines($filename)
- Loading branch information
Carl Masak
committed
Mar 21, 2009
1 parent
627b6d6
commit 836900e
Showing
3 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,8 @@ class IO is also { | |
|
||
} | ||
|
||
multi sub lines(IO $filehandle) { | ||
return $filehandle.lines(); | ||
} | ||
|
||
# vim: ft=perl6 |