Permalink
Browse files

add IO::Handle.IO noop

  • Loading branch information...
1 parent ff6e953 commit 346540cbe029487bb05a9064776242fd5d19a1e3 @labster labster committed May 29, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 S32-setting-library/IO.pod
View
6 S32-setting-library/IO.pod
@@ -405,12 +405,18 @@ will be (temporarily) set to the matched separator upon input,
if you care about the contents of the separator.
=item encoding
+
multi method encoding($enc?)
+
With no arguments, simply returns the current encoding used on the handle.
If supplied a string identifying a valid encoding, change the handle to read
with that encoding. Options include C<binary>, C<utf8>, and
other text encodings. An invalid encoding causes the method to fail.
+=item IO
+
+Returns the handle itself (no-op).
+
=item close
Closes the handle. Fails on error.

0 comments on commit 346540c

Please sign in to comment.