Skip to content
Sections
>> Trisquel >> Packages >> aramo >> perl >> libfile-chdir-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libfile-chdir-perl  ]

Package: libfile-chdir-perl (0.1008-1.1)

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(), File::Spec and Cwd.

Other Packages Related to libfile-chdir-perl

  • depends
  • recommends
  • suggests
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Download libfile-chdir-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 10.3 kB30 kB [list of files]