Path to this page:
./
devel/p5-IO-InSitu,
Perl 5 module to do in-situ processing on a file
Branch: pkgsrc-2017Q2,
Version: 0.0.2nb9,
Package name: p5-IO-InSitu-0.0.2nb9,
Maintainer: pkgsrc-usersThe Perl 5 module IO::InSitu provides the open_rw( ) subroutine:
It takes the names of two files: one to be opened for reading, the
other for writing. It returns a list of two filehandles, opened to
those two files. However, if the two filenames refer to the same
file, open_rw( ) first makes a temporary copy of the file, which
it opens for input. It then opens the original file for output. In
such cases, when the input filehandle is eventually closed, IO::InSitu
arranges for the temporary file to be automatically deleted.
Required to run:[
devel/p5-version]
Master sites: (Expand)
SHA1: e52a52f742c81c35cadf41fe43db5fe1362f2a7d
RMD160: ee4958edabe9a7be1683f49a8d78c5bd08dd3cc9
Filesize: 5.688 KB
Version history: (Expand)
- (2017-07-04) Package added to pkgsrc.se, version p5-IO-InSitu-0.0.2nb9 (created)