Manual Reference Pages - PERLIO::UTIL::JA (3)
PerlIO::Util::JA - PerlIOXXXXXXXXXXXXXX
This document describes PerlIO::Util version 0.72
# utility layers
open $in, +<:flock, $file; # with flock(IN, LOCK_EX)
open $in, +<:creat :excl, $file; # with O_CREAT | O_EXCL
open $out, >:tee, $file, \$scalar, \*STDERR;
print $out "foo"; # print to $file, $scalar and *STDERR
# utility routines
$in = PerlIO::Util->open(<, $file); # it dies on fail
*STDOUT->push_layer(scalar => \$scalar); # it dies on fail
print *STDOUT->pop_layer(); # => scalar
print $scalar; # => foo
See Querying the layers of filehandles in PerlIO.
FILEHANDLE->push_layer(layer [ => arg])
Perl 5.8.1 or later, and a C compiler.
No bugs have been reported.
Please report any bugs or feature requests to
<gfuji (at) cpan.org>, or through the web interface at
PerlIO::flock, PerlIO::creat, PerlIO::excl, PerlIO::tee,
PerlIO::dir, PerlIO::reverse, PerlIO::fse.
PerlIO for push_layer() and pop_layer().
perliol for implementation details.
open in perlfunc.
Goro Fuji (X XX) <gfuji(at)cpan.org>.
LICENSE AND COPYRIGHT
Copyright (c) 2008-2010, Goro Fuji <gfuji(at)cpan.org>. Some rights reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
|perl v5.20.3 ||PERLIO::UTIL::JA (3) ||2011-05-25 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.