Lines Matching defs:chdir
13 our @EXPORT_OK = qw(chdir abs_path fast_abs_path realpath fast_realpath);
251 # you might chdir out of a directory that you can't chdir back into.
263 CORE::chdir('..') || return undef;
282 # At this point $path may be tainted (if tainting) and chdir would fail.
285 && CORE::chdir($1) or return undef;
296 # use Cwd 'chdir';
297 # chdir $newdir;
325 sub chdir {
326 my $newdir = @_ ? shift : ''; # allow for no arg (chdir to HOME dir)
337 # get the full path name *before* the chdir()
341 return 0 unless CORE::chdir $newdir;
488 if (!CORE::chdir($path)) {
492 if (! ((-d $cwd) && (CORE::chdir($cwd)))) {
493 _croak("Cannot chdir back to $cwd: $!");
507 # Note: Use of Cwd::chdir() causes the logical name PWD to be defined
511 # the CRTL chdir() function persist only until Perl exits.
717 It might conceivably chdir() you out of a directory that it can't
718 chdir() you back into. If fastcwd encounters a problem it will return
780 If you ask to override your chdir() built-in function,
782 use Cwd qw(chdir);
785 it will only be kept up to date if all packages which use chdir import
827 L<File::chdir>