diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-24 14:48:34 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-24 14:48:34 +0000 |
commit | 7d61c391344623a8b5661bec03f6c423ea3c8b1b (patch) | |
tree | 21d770fd4c082a37f7f4eaf58948e05de98b7dc1 | |
parent | f56fdd801e5b3d02170cb8e7692ffdc790f190a9 (diff) | |
download | perl-7d61c391344623a8b5661bec03f6c423ea3c8b1b.tar.gz |
Tweak the PUSHED documentation.
p4raw-id: //depot/perl@13232
-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]) |