[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] `pwd` Bug or Feature?



I use this line to get the current working directory:

	$dir = `pwd`;

There seems to be a difference if I'm working at the "root" level:

	MacHD:		(root)
	MacHD:folder	(up one level)

Notice that the former has a ":" on the end and the latter does not.

Is this the way it should be? I'm using MacPerl 5.1.3r2.

Thanks, RR

__________________________________________________________________________
  Richard Rathe, MD                       mailto:rrathe@dean.med.ufl.edu
  University of Florida                  http://www.med.ufl.edu/medinfo/