This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: Réf. : Re: PATCH proposal for ext/Safe/safe2.t
[perl5.git] / ext / PerlIO / Scalar / Scalar.pm
CommitLineData
f6c77cf1
NIS
1package PerlIO::Scalar;
2our $VERSION = '0.01';
3use XSLoader ();
4XSLoader::load 'PerlIO::Scalar';
51;
6__END__
b3d30bf7
NIS
7
8=head1 NAME
9
10PerlIO::Scalar - support module for in-memory IO.
11
12=head1 SYNOPSIS
13
14 open($fh,"<...",\$scalar);
15
16=head1 DESCRIPTION
17
18C<PerlIO::Scalar> only exists to use XSLoader to load C code that provides
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