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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-File-pushd | 1.016 |
| OpenBSD | devel/p5-File-pushd | 1.016p0 |
| NetBSD | devel/p5-File-pushd | 1.016nb9 |
| DragonFly | devel/p5-File-pushd | 1.016 |
| MidnightBSD | devel/p5-File-pushd | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.016 | 1.016 | 1.016 | 1.016 | 1.016 |
| FreeBSD:14:quarterly | 1.016 | 1.016 | n/a | 1.016 | 1.016 |
| FreeBSD:15:latest | 1.016 | 1.016 | n/a | 1.016 | 1.016 |
| FreeBSD:15:quarterly | 1.016 | 1.016 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.016 | 1.016 | 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
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
| File | Size | SHA256 |
|---|---|---|
| File-pushd-1.016.tar.gz | 19798 | d73a7f09442983b098260df3df7a832a5f660773a313ca273fa8b56665f97cdc |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.