There's no direct built in way in perl, but if you use the module File::Spec, which loads up the correct OS-based code depending on where it's run, you can get this information, allowing you to write cross-platform programs.
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain