This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Retract #17486: OS/2 didn't like it.
[perl5.git] / ext / PerlIO / scalar / scalar.pm
CommitLineData
e934609f 1package PerlIO::scalar;
f6c77cf1
NIS
2our $VERSION = '0.01';
3use XSLoader ();
e934609f 4XSLoader::load 'PerlIO::scalar';
f6c77cf1
NIS
51;
6__END__
b3d30bf7
NIS
7
8=head1 NAME
9
e934609f 10PerlIO::scalar - support module for in-memory IO.
b3d30bf7
NIS
11
12=head1 SYNOPSIS
13
14 open($fh,"<...",\$scalar);
15
16=head1 DESCRIPTION
17
e934609f 18C<PerlIO::scalar> only exists to use XSLoader to load C code that provides
b3d30bf7
NIS
19support for treating a scalar as an "in memory" file.
20
47bfe92f
JH
21All normal file operations can be performed on the handle. The scalar
22is considered a stream of bytes. Currently fileno($fh) returns C<undef>.
b3d30bf7
NIS
23
24=cut
25
26