# Figure out the effective $base and clean it up.
if ( !defined( $base ) || $base eq '' ) {
+ require Cwd;
$base = Cwd::sys_cwd() ;
} elsif ( ! $self->file_name_is_absolute( $base ) ) {
$base = $self->rel2abs( $base ) ;
if ( ! $self->file_name_is_absolute( $path ) ) {
if ( !defined( $base ) || $base eq '' ) {
+ require Cwd;
$base = Cwd::sys_cwd() ;
}
elsif ( ! $self->file_name_is_absolute( $base ) ) {
=head1 DESCRIPTION
-See File::Spec::Unix for a documentation of the methods provided
-there. This package overrides the implementation of these methods, not
-the semantics.
+See L<File::Spec> and L<File::Spec::Unix>. This package overrides the
+implementation of these methods, not the semantics.