Monthly Archives: February 2014

Why you should use getcwd and not cwd

The Cwd module provides several functions for finding the current directory. The most similar-seeming are cwd and getcwd. Have you ever wondered why you should pick one or the other? I always use getcwd and I'll show you why. My ~/.dzil directory is a symlink to a git repository elsewhere. If I'm in that directory […]

Posted in perl programming | Tagged , , | Comments closed