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

Paket: libfile-chdir-perl (0.1008-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.

Andere Pakete mit Bezug zu libfile-chdir-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libfile-chdir-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 11,4 kB59 kB [Liste der Dateien]