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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-File-chdir | 0.1011 |
| OpenBSD | devel/p5-File-chdir | 0.1011 |
| NetBSD | devel/p5-File-chdir | 0.1011nb4 |
| DragonFly | devel/p5-File-chdir | 0.1011 |
| MidnightBSD | devel/p5-File-chdir | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.1011 | 0.1011 | 0.1011 | 0.1011 | 0.1011 |
| FreeBSD:14:quarterly | 0.1011 | 0.1011 | n/a | 0.1011 | 0.1011 |
| FreeBSD:15:latest | 0.1011 | 0.1011 | n/a | 0.1011 | 0.1011 |
| FreeBSD:15:quarterly | 0.1011 | 0.1011 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1011 | 0.1011 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 25
- devel/p5-Alien-Base-ModuleBuild
- devel/p5-Alien-Build
- devel/p5-Alien-LibGumbo
- devel/p5-Alien-Role-Dino
- devel/p5-Alien-cmake3
- devel/p5-App-GitGot
- devel/p5-Data-Sah
- devel/p5-FFI-Platypus-Lang-Rust
- devel/p5-File-ShareDir-Tarball
- devel/p5-Git-Wrapper
- devel/p5-Log-Accounting-SVK
- devel/p5-SVN-Mirror
- devel/p5-Test-DependentModules
- devel/p5-VCP-Dest-svk
- devel/p5-XML-Pastor
- devel/pushmi
- devel/svk
- math/p5-Math-GSL
- math/p5-Math-GSL-Alien
- www/p5-Dancer-Plugin-Swagger
- www/p5-HTML-Gumbo
- www/p5-RT-Extension-RepeatTicket2
- www/p5-RTx-Calendar
- www/rt50
- www/rt60
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
| File | Size | SHA256 |
|---|---|---|
| File-chdir-0.1011.tar.gz | 25127 | 31ebf912df48d5d681def74b9880d78b1f3aca4351a0ed1fe3570b8e03af6c79 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.