diff options
-rw-r--r-- | ext/PerlIO/Via/Via.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/PerlIO/Via/Via.pm b/ext/PerlIO/Via/Via.pm index 07c0876e03..01805ca197 100644 --- a/ext/PerlIO/Via/Via.pm +++ b/ext/PerlIO/Via/Via.pm @@ -32,10 +32,11 @@ module defines the required TIEHANDLE methods so that you can say =over 4 -=item $class->PUSHED([$mode][,$fh]) +=item $class->PUSHED([$mode[,$fh]]) -Should return an object or the class, or undef on failure. -(Compare TIEHANDLE.) Mandatory. +Should return an object or the class, or -1 on failure. (Compare +TIEHANDLE.) The arguments are an optional mode string ("r", "w", +"w+", ...) and a filehandle for the PerlIO layer below. Mandatory. =item $obj->POPPED([$fh]) |