BSD Ports

devel/p5-File-pushd 1.016nb9 NetBSD

Perl module to change directory temporarily for a limited scope

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
apache-2.0
Categories
devel, perl5
Package size
8.2 KiB, 16.1 KiB installed

Description

File::pushd does a temporary chdir that is easily and automatically reverted, similar to pushd in some Unix command shells. It works by creating an object that caches the original working directory. When the object is destroyed, the destructor calls chdir to revert to the original working directory. By storing the object in a lexical variable with a limited scope, this happens automatically at the end of the scope.

In the other systems

SystemPortVersion
NetBSDdevel/p5-File-pushd1.016nb9
FreeBSDdevel/p5-File-pushd1.016
OpenBSDdevel/p5-File-pushd1.016p0
DragonFlydevel/p5-File-pushd1.016
MidnightBSDdevel/p5-File-pushd1.016

Install

Binary package:

pkgin install p5-File-pushd

From pkgsrc:

cd /usr/pkgsrc/devel/p5-File-pushd && make install clean

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0