From: Jarkko Hietaniemi Date: Sat, 24 Nov 2001 14:48:34 +0000 (+0000) Subject: Tweak the PUSHED documentation. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d61c391344623a8b5661bec03f6c423ea3c8b1b;p=p5sagit%2Fp5-mst-13.2.git Tweak the PUSHED documentation. p4raw-id: //depot/perl@13232 --- diff --git a/ext/PerlIO/Via/Via.pm b/ext/PerlIO/Via/Via.pm index 07c0876..01805ca 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])