BSD Ports

devel/p5-File-chdir 0.1011 FreeBSD

More sensible way to change directories

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
15.6 KiB, 51.4 KiB installed

Description

Perl's chdir() has the unfortunate problem of being very, very, very global. If any part of your program calls chdir() or if any library you use calls chdir(), it changes the current working directory for the whole program.

File::chdir gives you an alternative, $CWD and @CWD. These two variables combine all the power of chdir(), File::Spec and Cwd.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-File-chdir0.1011
OpenBSDdevel/p5-File-chdir0.1011
NetBSDdevel/p5-File-chdir0.1011nb4
DragonFlydevel/p5-File-chdir0.1011
MidnightBSDdevel/p5-File-chdir0.1011

Install

Binary package:

pkg install p5-File-chdir

From the ports tree:

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

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

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

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:latest0.10110.10110.10110.10110.1011
FreeBSD:14:quarterly0.10110.1011n/a0.10110.1011
FreeBSD:15:latest0.10110.1011n/a0.10110.1011
FreeBSD:15:quarterly0.10110.1011n/an/an/a
FreeBSD:16:latest0.10110.1011n/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
  • %%PERL5_MAN3%%/File::chdir.3.gz
  • %%SITE_PERL%%/File/chdir.pm
distinfo 1
FileSizeSHA256
File-chdir-0.1011.tar.gz2512731ebf912df48d5d681def74b9880d78b1f3aca4351a0ed1fe3570b8e03af6c79
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.