The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Chj::IO::WrappedFile

SYNOPSIS

use Chj::xopen 'fh_to_fh';
my $fh = fh_to_fh ($some_pty_or_so);
# which is the same as:
my $fh2 = Chj::IO::WrappedFile->new ($some_pty_or_so);

# $fh and $fh2 are Chj::IO::WrappedFile objects *containing*
# $some_pty_or_so
$fh->dup2(0) # etc., all Chj::IO::File methods

DESCRIPTION

This is a type wrapper to provide the Chj::IO::File methods for all kinds of Perl filehandles.

NOTE

This is alpha software! Read the status section in the package README or on the website.