BSD Ports

textproc/p5-File-Inplace 0.20_1 DragonFly

Perl module for in-place editing of files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
8.6 KiB, 16.5 KiB installed

Description

File::Inplace is a Perl module intended to ease the common task of editing a file in-place. Inspired by variations of Perl's -i option, this module is intended for somewhat more structured and reusable editing than command line Perl typically allows.

File::Inplace endeavors to guarantee file integrity; that is, either all of the changes made will be saved to the file, or none will. It also offers functionality such as backup creation, automatic field splitting per-line, automatic chomping/unchomping, and aborting edits partially through without affecting the original file.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-File-Inplace0.20_1
FreeBSDtextproc/p5-File-Inplace0.20_1
NetBSDsysutils/p5-File-Inplace0.20nb13

Install

Binary package:

pkg install p5-File-Inplace

From DPorts:

cd /usr/dports/textproc/p5-File-Inplace && make install clean

Dependencies

Run dependencies 1

No port depends on this one.