Commit | Line | Data |
e934609f |
1 | package PerlIO::scalar; |
f6c77cf1 |
2 | our $VERSION = '0.01'; |
3 | use XSLoader (); |
e934609f |
4 | XSLoader::load 'PerlIO::scalar'; |
f6c77cf1 |
5 | 1; |
6 | __END__ |
b3d30bf7 |
7 | |
8 | =head1 NAME |
9 | |
e934609f |
10 | PerlIO::scalar - support module for in-memory IO. |
b3d30bf7 |
11 | |
12 | =head1 SYNOPSIS |
13 | |
14 | open($fh,"<...",\$scalar); |
15 | |
16 | =head1 DESCRIPTION |
17 | |
e934609f |
18 | C<PerlIO::scalar> only exists to use XSLoader to load C code that provides |
b3d30bf7 |
19 | support for treating a scalar as an "in memory" file. |
20 | |
47bfe92f |
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>. |
b3d30bf7 |
23 | |
24 | =cut |
25 | |
26 | |