This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
EBCDIC test tweak.
[perl5.git] / lib / File / Spec / Cygwin.pm
CommitLineData
ecf68df6
DR
1package File::Spec::Cygwin;
2
3use strict;
4use vars qw(@ISA $VERSION);
5require File::Spec::Unix;
6
7$VERSION = '1.0';
8
9@ISA = qw(File::Spec::Unix);
10
11sub canonpath {
12 my($self,$path) = @_;
13 $path =~ s|\\|/|g;
14 return $self->SUPER::canonpath($path);
15}
16
171;
18__END__
19
20=head1 NAME
21
22File::Spec::Cygwin - methods for Cygwin file specs
23
24=head1 SYNOPSIS
25
26 require File::Spec::Cygwin; # Done internally by File::Spec if needed
27
28=head1 DESCRIPTION
29
30See File::Spec::Unix for a documentation of the methods provided
31there. This package overrides the implementation of these methods, not
32the semantics.
33
34This module is still in beta. Cygwin-knowledgeable folks are invited
35to offer patches and suggestions.