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
1 package PerlIO::Scalar;
2 our $VERSION = '0.01';
3 use XSLoader ();
4 XSLoader::load 'PerlIO::Scalar';
5 1;
6 __END__
7
8 =head1 NAME
9
10 PerlIO::Scalar - support module for in-memory IO.
11
12 =head1 SYNOPSIS
13
14    open($fh,"<...",\$scalar);
15
16 =head1 DESCRIPTION
17
18 C<PerlIO::Scalar> only exists to use XSLoader to load C code that provides
19 support for treating a scalar as an "in memory" file.
20
21 All normal file operations can be performed on the handle. The scalar
22 is considered a stream of bytes. Currently fileno($fh) returns C<undef>.
23
24 =cut
25
26