p4raw-id: //depot/perlio@9395
XSLoader::load 'PerlIO::Scalar';
1;
__END__
+
+=head1 NAME
+
+PerlIO::Scalar - support module for in-memory IO.
+
+=head1 SYNOPSIS
+
+ open($fh,"<...",\$scalar);
+
+=head1 DESCRIPTION
+
+C<PerlIO::Scalar> only exists to use XSLoader to load C code that provides
+support for treating a scalar as an "in memory" file.
+
+All normal file operations can be performed on the handle. The scalar is considered
+a stream of bytes. Currently fileno($fh) returns C<undef>.
+
+=cut
+
+
1;
__END__
+
+=head1 NAME
+
+PerlIO - On demand loader for PerlIO::* name space
+
+=head1 SYNOPSIS
+
+ open($fh,">:foo",...)
+
+=head1 DESCRIPTION
+
+When an undefined layer 'foo' is encountered in an C<open> or C<binmode> layer
+specification then C code performs the equivalent of:
+
+ use PerlIO 'foo';
+
+The perl code in PerlIO.pm then attempts to locate a layer by doing
+
+ require PerlIO::foo;
+
+Otherwise the C<PerlIO> package is a place holder for additional PerLIO related
+functions.
+
+
+=cut
+
+