diff options
Diffstat (limited to 'cpan/lib/File/Spec/Epoc.pm')
| -rw-r--r-- | cpan/lib/File/Spec/Epoc.pm | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/cpan/lib/File/Spec/Epoc.pm b/cpan/lib/File/Spec/Epoc.pm index 89ca0b99..17e3f54d 100644 --- a/cpan/lib/File/Spec/Epoc.pm +++ b/cpan/lib/File/Spec/Epoc.pm @@ -3,7 +3,8 @@ package File::Spec::Epoc; use strict; use vars qw($VERSION @ISA); -$VERSION = '1.1'; +$VERSION = '3.62'; +$VERSION =~ tr/_//d; require File::Spec::Unix; @ISA = qw(File::Spec::Unix); @@ -19,14 +20,10 @@ File::Spec::Epoc - methods for Epoc file specs =head1 DESCRIPTION See File::Spec::Unix for a documentation of the methods provided -there. This package overrides the implementation of these methods, not +there. This package overrides the implementation of these methods, not the semantics. -This package is still work in progress ;-) - -=head1 AUTHORS - -o.flebbe@gmx.de +This package is still a work in progress. ;-) =cut @@ -41,7 +38,7 @@ sub case_tolerant { =item canonpath() No physical check on the filesystem, but a logical cleanup of a -path. On UNIX eliminated successive slashes and successive "/.". +path. On UNIX eliminated successive slashes and successive "/.". =back @@ -49,6 +46,7 @@ path. On UNIX eliminated successive slashes and successive "/.". sub canonpath { my ($self,$path) = @_; + return unless defined $path; $path =~ s|/+|/|g; # xx////xx -> xx/xx $path =~ s|(/\.)+/|/|g; # xx/././xx -> xx/xx @@ -60,6 +58,17 @@ sub canonpath { =pod +=head1 AUTHOR + +o.flebbe@gmx.de + +=head1 COPYRIGHT + +Copyright (c) 2004 by the Perl 5 Porters. All rights reserved. + +This program is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + =head1 SEE ALSO See L<File::Spec> and L<File::Spec::Unix>. This package overrides the |
