in reply to Normalized directory paths

The File::PathConvert CPAN module will do what you need. It has several functions for manipulating relative and absolute paths, including rel2abs which sounds like just what you need..