Usage

To use Cwd.pm, you just do the following at the top of your program:

#!/path/to/perl
use Cwd;

# you can choose any of the following functions:

$dir = cwd;     # we'll see examples of this one
$dir = cwd();    
# older style, still works
$dir = getcwd;
$dir = fastcwd;    
# considered more dangerous because may chdir
$dir = fastgetcwd;    
# considered more dangerous because may chdir