Initial import of File-chdir 0.06

File::chdir gives you an alternative, $CWD and @CWD.
This commit is contained in:
kevlo 2005-09-26 02:50:23 +00:00
parent 188b771483
commit 268df17975
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/26 02:50:23 kevlo Exp $
COMMENT= "more sensible way to change directories"
DISTNAME= File-chdir-0.06
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (File-chdir-0.06.tar.gz) = 41a4661789f6de97fb632e4560d37864
RMD160 (File-chdir-0.06.tar.gz) = d836fd142aae02f878e9741b3701a3d8a6e222f6
SHA1 (File-chdir-0.06.tar.gz) = 8247b89f87216fd043fa9402596b5e47b40eebc0
SIZE (File-chdir-0.06.tar.gz) = 22393

View File

@ -0,0 +1,7 @@
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.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/26 02:50:23 kevlo Exp $
${P5SITE}/File/
${P5SITE}/File/chdir.pm
@man man/man3p/File::chdir.3p