in reply to How to declare a dependency on PerlIO in a CPAN module?

perl => 5.008

Tied handles not require PerlIO.

Replies are listed 'Best First'.
Re^2: How to declare a dependency on PerlIO in a CPAN module?
by jcb (Parson) on Sep 01, 2019 at 02:11 UTC

    Actually, I am setting MIN_PERL_VERSION => '5.8.1' because of some documentation warning about bugs in tied filehandle support in 5.8.0.

    That tied handles are separate machinery in perl is nice to know, and solves an open question (whether to handle decoding transfer-encodings on WARC payloads in tied handle handlers or to use PerlIO::via) that I had. I try to follow the general principle of "graceful degradation" so I will try to minimize my dependencies on PerlIO. Thanks for the detail.

      I wouldn't fret about a dependency on PerlIO. 5.8.1 is the minimum supported by most distros. Anything before that didn't support Unicode, for starters.