1 package PerlIO::scalar;
4 XSLoader::load 'PerlIO::scalar';
10 PerlIO::scalar - support module for in-memory IO.
14 open($fh,"<",\$scalar);
15 open($fh,">",\$scalar);
19 open($fh,"<:scalar",\$scalar);
20 open($fh,">:scalar",\$scalar);
24 C<PerlIO::scalar> only exists to use XSLoader to load C code that provides
25 support for treating a scalar as an "in memory" file.
27 All normal file operations can be performed on the handle. The scalar
28 is considered a stream of bytes. Currently fileno($fh) returns C<undef>.