![]() |
![]()
| ![]() |
![]()
NAMEPerlIO::excl - Creates a file only if it doesn't exist SYNOPSISopen my $io, '+<:excl', 'foo.txt'; DESCRIPTION"PerlIO::excl" appends "O_EXCL" to the open flags. When you'd like to create a file only if it doesn't exist before, you can use the ":excl" layer. This is a pseudo layer that doesn't be pushed on the layer stack. SEE ALSOPerlIO::Util. "sysopen" in perlfunc. AUTHORGoro Fuji (藤 吾郎) <gfuji (at) cpan.org> LICENSE AND COPYRIGHTCopyright (c) 2008, 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.
|