summaryrefslogtreecommitdiffstats
path: root/perl/perl-File-pushd/slack-desc
diff options
context:
space:
mode:
author Andreas Guldstrand2016-09-28 01:27:29 +0200
committer Willy Sudiarto Raharjo2016-10-01 02:17:10 +0200
commit0be19e96f57f15afda220d1050f3e7b6dc21b9fc (patch)
treec15915ca34ae02611fe48756930fba930aac0dbf /perl/perl-File-pushd/slack-desc
parent75b9795b621a7d1923fde1501f7e5afe465db30d (diff)
downloadslackbuilds-0be19e96f57f15afda220d1050f3e7b6dc21b9fc.tar.gz
perl/perl-File-pushd: Added (change directory temporarily).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-File-pushd/slack-desc')
-rw-r--r--perl/perl-File-pushd/slack-desc19
1 files changed, 19 insertions, 0 deletions
diff --git a/perl/perl-File-pushd/slack-desc b/perl/perl-File-pushd/slack-desc
new file mode 100644
index 0000000000..40e24ed7ad
--- /dev/null
+++ b/perl/perl-File-pushd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+perl-File-pushd: perl-File-pushd (change directory temporarily for a limited scope)
+perl-File-pushd:
+perl-File-pushd: File::pushd does a temporary chdir that is easily and automatically
+perl-File-pushd: reverted, similar to pushd in some Unix command shells. It works by
+perl-File-pushd: creating an object that caches the original working directory. When
+perl-File-pushd: the object is destroyed, the destructor calls chdir to revert to the
+perl-File-pushd: original working directory. By storing the object in a lexical
+perl-File-pushd: variable with a limited scope, this happens automatically at the end
+perl-File-pushd: of the scope.
+perl-File-pushd:
+perl-File-pushd: