Commit | Line | Data |
---|---|---|
f6c77cf1 NIS |
1 | package PerlIO::Scalar; |
2 | our $VERSION = '0.01'; | |
3 | use XSLoader (); | |
4 | XSLoader::load 'PerlIO::Scalar'; | |
5 | 1; | |
6 | __END__ | |
b3d30bf7 NIS |
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 is considered | |
22 | a stream of bytes. Currently fileno($fh) returns C<undef>. | |
23 | ||
24 | =cut | |
25 | ||
26 |