package File
::Spec
::Cygwin
;
use vars
qw(@ISA $VERSION);
require File::Spec::Unix;
@ISA = qw(File::Spec::Unix);
return $self->SUPER::canonpath
($path);
sub file_name_is_absolute
{
return 1 if $file =~ m{^([a-z]:)?[\\/]}is; # C:/test
return $self->SUPER::file_name_is_absolute
($file);
File::Spec::Cygwin - methods for Cygwin file specs
require File::Spec::Cygwin; # Done internally by File::Spec if needed
See File::Spec::Unix for a documentation of the methods provided
there. This package overrides the implementation of these methods, not
This module is still in beta. Cygwin-knowledgeable folks are invited
to offer patches and suggestions.