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