diff options
author | Elizabeth Mattijsen <liz@dijkmat.nl> | 2002-07-08 12:21:09 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-07-09 18:38:04 +0000 |
commit | b31b80f9d91ded188b47dd78c18a0a1effe2584d (patch) | |
tree | f27137554d00433ffb81dea3e47a9957960f1b06 /pod/perliol.pod | |
parent | d068fc0dfbe72bcd63e0b2a470a9d322ca5cab34 (diff) | |
download | perl-b31b80f9d91ded188b47dd78c18a0a1effe2584d.tar.gz |
[PATCH] Removing example layers from MIME::QuotedPrint
Date: Mon, 08 Jul 2002 10:21:09 +0200
Message-Id: <4.2.0.58.20020708090819.02740f00@mickey.dijkmat.nl>
Subject: Re: [PATCH] Removing example layers from MIME::QuotedPrint
From: Elizabeth Mattijsen <liz@dijkmat.nl>
Date: Tue, 09 Jul 2002 09:29:52 +0200
Message-Id: <4.2.0.58.20020709092337.02893300@mickey.dijkmat.nl>
p4raw-id: //depot/perl@17449
Diffstat (limited to 'pod/perliol.pod')
-rw-r--r-- | pod/perliol.pod | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pod/perliol.pod b/pod/perliol.pod index b9dcee970a..a921bc8a01 100644 --- a/pod/perliol.pod +++ b/pod/perliol.pod @@ -780,13 +780,13 @@ makes this layer available, although F<PerlIO.pm> "knows" where to find it. It is an example of a layer which takes an argument as it is called thus: - open($fh,"<:encoding(iso-8859-7)",$pathname) + open( $fh, "<:encoding(iso-8859-7)", $pathname ); =item ":Scalar" -Provides support for +Provides support for reading data from and writing data to a scalar. - open($fh,"...",\$scalar) + open( $fh, ":Scalar", \$scalar ); When a handle is so opened, then reads get bytes from the string value of I<$scalar>, and writes change the value. In both cases the position @@ -797,8 +797,8 @@ determined via C<tell>. Provided to allow layers to be implemented as Perl code. For instance: - use MIME::QuotedPrint; - open(my $fh, ">Via(MIME::QuotedPrint)", "qp"); + use PerlIO::Via::StripHTML; + open( my $fh, ">:Via(StripHTML)", "index.html" ); See L<PerlIO::Via> for details. @@ -867,6 +867,3 @@ a person who is not a PerlIO guru (yet). =back =cut - - - |