summaryrefslogtreecommitdiff
path: root/ext/MIME
diff options
context:
space:
mode:
authorElizabeth Mattijsen <liz@dijkmat.nl>2002-07-08 12:21:09 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-09 18:38:04 +0000
commitb31b80f9d91ded188b47dd78c18a0a1effe2584d (patch)
treef27137554d00433ffb81dea3e47a9957960f1b06 /ext/MIME
parentd068fc0dfbe72bcd63e0b2a470a9d322ca5cab34 (diff)
downloadperl-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 'ext/MIME')
-rw-r--r--ext/MIME/Base64/QuotedPrint.pm33
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/MIME/Base64/QuotedPrint.pm b/ext/MIME/Base64/QuotedPrint.pm
index ad0d7e1313..2cdc018f78 100644
--- a/ext/MIME/Base64/QuotedPrint.pm
+++ b/ext/MIME/Base64/QuotedPrint.pm
@@ -159,37 +159,4 @@ sub decode_qp ($)
*encode = \&encode_qp;
*decode = \&decode_qp;
-# Methods for use as a PerlIO layer object
-
-sub PUSHED
-{
- my ($class,$mode) = @_;
- # When writing we buffer the data
- my $write = '';
- return bless \$write,$class;
-}
-
-sub FILL
-{
- my ($obj,$fh) = @_;
- my $line = <$fh>;
- return (defined $line) ? decode_qp($line) : undef;
-}
-
-sub WRITE
-{
- my ($obj,$buf,$fh) = @_;
- $$obj .= encode_qp($buf);
- return length($buf);
-}
-
-sub FLUSH
-{
- my ($obj,$fh) = @_;
- print $fh $$obj or return -1;
- $$obj = '';
- return 0;
-}
-
-
1;