PerlIO...dPrint(3perl)

✨ PerlIO::via::QuotedPrint β€” it's giving "quoted-printable but make it a layer" πŸ’…

Hey bestie 🫢 so this page lives in the Perl Programmers Reference Guide under the name PerlIO...dPrint(3perl) (yes the title got squished, the terminal is a menace like that), and it's about a lil PerlIO layer that handles quoted-printable encoding. Let me put you on.


🌸 NAME 🌸

PerlIO::via::QuotedPrint β€” a PerlIO layer for quoted-printable strings. That's it, that's the whole job. Iconic.


✨ SYNOPSIS ✨

use PerlIO::via::QuotedPrint;

open(my $in, '<:via(QuotedPrint)', 'file.qp') or
    die "Can't open file.qp for reading: $!\n";

open(my $out, '>:via(QuotedPrint)', 'file.qp') or
    die "Can't open file.qp for writing: $!\n";

okay so like β€” you drop the layer into your open() mode string and the vibes handle themselves. Reading? Decoded for you. Writing? Encoded for you. No manual labor. Periodt.


πŸ’– DESCRIPTION πŸ’–

This module implements a PerlIO layer that works on files encoded in the quoted-printable format.

  • When you're reading from a handle β€” it decodes from quoted-printable. πŸ”“
  • When you're writing to a handle β€” it encodes as quoted-printable. πŸ”’

That's the whole personality. It's a layer, it sits on your handle, it transforms the bytes as they pass through. Lowkey elegant ngl.


πŸŽ€ EXPORTS πŸŽ€

None.

Not a single thing. It exports nothing. It's humble like that πŸ™ˆ


πŸ’€ KNOWN BUGS πŸ’€

None.

Zero. Nada. Not one bug is known at this time. We love to see it πŸ‘‘


πŸ“¬ FEEDBACK πŸ“¬

Patches, bug reports, suggestions or any other feedback is welcome. Fr fr, they want to hear from you 🫢


πŸ‘€ SEE ALSO πŸ‘€

  • PerlIO::via
  • MIME::QuotedPrint

🌈 ACKNOWLEDGEMENTS 🌈

Based on an example in the standard library module MIME::QuotedPrint in Perl (version 5.8.0). Respect where it's due 🫑


πŸ“¦ AVAILABILITY πŸ“¦

The latest version of this module is available from CPAN (see "CPAN" in perlmodlib for details) at

The latest source code is available from GitHub at <https://github.com/steve-m-hay/PerlIO-via-QuotedPrint>.


🧚 INSTALLATION 🧚

See the INSTALL file. (Short queen behaviour, honestly.)


πŸ‘‘ AUTHOR πŸ‘‘

  • Elizabeth Mattijsen <liz@dijkmat.nl <mailto:liz@dijkmat.nl>>.
  • Steve Hay <shay@cpan.org <mailto:shay@cpan.org>> is now maintaining PerlIO::via::QuotedPrint as of version 0.08.

  • Copyright (C) 2002-2004, 2012 Elizabeth Mattijsen. All rights reserved.
  • Copyright (C) 2015, 2020 Steve Hay. All rights reserved.

πŸ“œ LICENCE πŸ“œ

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e. under the terms of either the GNU General Public License or the Artistic License, as specified in the LICENCE file.


πŸ”’ VERSION πŸ”’

Version 0.10


πŸ“… DATE πŸ“…

22 May 2022


πŸ•°οΈ HISTORY πŸ•°οΈ

See the Changes file.


ngl the way this whole manpage is like four lines of actual code and then a mountain of links is so real πŸ’€ the documentation ate though, no crumbs.

ok bestie that's the whole thing β€” stay encoded, stay decoded, never both at once πŸ’–βœ¨πŸŽ€ byee~

β€” signed off from perl v5.44.0, dated 2026-10-17, under the header PerlIO...dPrint(3perl) in the Perl Programmers Reference Guide. slay πŸ’…

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms