BSD Ports

devel/p5-File-pushd 1.016 FreeBSD

Temporary chdir for a limited scope in Perl

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel, perl5
Package size
11.4 KiB, 23.1 KiB installed

Description

File::pushd does a temporary chdir that is easily and automatically reverted. It works by creating a simple 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
FreeBSDdevel/p5-File-pushd1.016
OpenBSDdevel/p5-File-pushd1.016p0
NetBSDdevel/p5-File-pushd1.016nb9
DragonFlydevel/p5-File-pushd1.016
MidnightBSDdevel/p5-File-pushd1.016

Install

Binary package:

pkg install p5-File-pushd

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-File-pushd>0:devel/p5-File-pushd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0161.0161.0161.0161.016
FreeBSD:14:quarterly1.0161.016n/a1.0161.016
FreeBSD:15:latest1.0161.016n/a1.0161.016
FreeBSD:15:quarterly1.0161.016n/an/an/a
FreeBSD:16:latest1.0161.016n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/File/pushd.pm
  • %%PERL5_MAN3%%/File::pushd.3.gz
distinfo 1
FileSizeSHA256
File-pushd-1.016.tar.gz19798d73a7f09442983b098260df3df7a832a5f660773a313ca273fa8b56665f97cdc
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.