a more sensible way to change directories
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.
This sucks.
File::chdir gives you an alternative, '$CWD' and '@CWD'. These two
variables combine all the power of 'chdir()', the File::Spec manpage and
the Cwd manpage.
- Sources inherited from project openSUSE:Backports:SLE-15-SP4
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.4:Update/perl-File-chdir && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
File-chdir-0.1011.tar.gz | 0000025127 24.5 KB | |
perl-File-chdir.changes | 0000001567 1.53 KB | |
perl-File-chdir.spec | 0000002140 2.09 KB |
Latest Revision
Yuchen Lin (maxlin_factory)
accepted
request 939715
from
Yuchen Lin (maxlin_factory)
(revision 2)
Automatically create request by update submitter. This is trying to update package to openSUSE:Backports:SLE-15-SP4 from openSUSE:Factory. Please review this change and decline it if Leap do not need it.
Comments 0