Skip to content

Commit

Permalink
remove a TODO comment that's implemented in any-str.pir already
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 20, 2009
1 parent ab75eb1 commit dcbbde3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/classes/Str.pir
Expand Up @@ -180,18 +180,6 @@ chopped.
Related to C<p5chop>, only removes trailing chars that match C</\n/>. In
either case, it returns the number of chars removed.

=item chomp

our Str method Str::chomp ( Str $string: )

Returns string with newline removed from the end. An arbitrary
terminator can be removed if the input filehandle has marked the
string for where the "newline" begins. (Presumably this is stored
as a property of the string.) Otherwise a standard newline is removed.

Note: Most users should just let their I/O handles autochomp instead.
(Autochomping is the default.)

=item length

This word is banned in Perl 6. You must specify units.
Expand Down

0 comments on commit dcbbde3

Please sign in to comment.