summaryrefslogtreecommitdiff
path: root/ext/PerlIO/Scalar/Scalar.pm
blob: e0860325071072ae3f2ac2cb29cb76d16aab66f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package PerlIO::Scalar;
our $VERSION = '0.01';
use XSLoader ();
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