|Subject:||File::Spec->rootdir() not returning correct roordir for windows|
Environment details ----------------------- C:\Documents and Settings\rthangam.APPLICATIONS>perl -v This is perl, v5.8.4 built for MSWin32-x86-multi-thread (with 3 registered patches, see perl -V for more detail) Copyright 1987-2004, Larry Wall Binary build 810 provided by ActiveState Corp.ActiveState is a division of Sophos. Built Jun 1 2004 11:52:21 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at , the Perl Home Page. Operating system: Windows XP Module version -------------- File::Spec => version 0.87 File::Spec::Win32 => version 1.4 C:\>perl -e "use File::Spec; $rootdir = File::Spec->rootdir(); print $rootdir" / For windows operating system the root directory is printed as '/' which is incorrect. I guess it should be printing c:\ for this example. Can you please check this out.