summaryrefslogtreecommitdiff
path: root/lib/PerlIO.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-16 12:13:07 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-16 12:13:07 +0000
commit9d569fce7e05dcd53624075ce9247bfbc6ef263e (patch)
treee385d21c7ccde9dc69b0f0820985490ee507b3fa /lib/PerlIO.pm
parent2ae85e5961e1ee7057020436524ffba6c7125d25 (diff)
downloadperl-9d569fce7e05dcd53624075ce9247bfbc6ef263e.tar.gz
Use the right prototype and a glob is fine (from Rafael).
p4raw-id: //depot/perl@19235
Diffstat (limited to 'lib/PerlIO.pm')
-rw-r--r--lib/PerlIO.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PerlIO.pm b/lib/PerlIO.pm
index c89c0681d5..61a748aa05 100644
--- a/lib/PerlIO.pm
+++ b/lib/PerlIO.pm
@@ -228,8 +228,7 @@ This can be used to see the effect of/bugs in the various layers e.g.
The following returns the B<names> of the PerlIO layers on a filehandle.
- my @layers = PerlIO::get_layers($fh);
- # You can use also FH or *FH, the bare FH doesn't pass 'use strict'.
+ my @layers = PerlIO::get_layers($fh); # Or FH, *FH, "FH".
The layers are returned in the order an open() or binmode() call would
use them. Note that the stack begins (normally) from C<stdio> or from