in reply to Re^5: FindBin works differently on Fedora Core 2? (replace)
in thread FindBin works differently on Fedora Core 2?
update:
sub File::Spec::dirname { my $self = shift; return $self->catpath( ( $self->splitpath(shift) )[ 0, 1 ] ); } sub File::Spec::basename { my $self = shift; return $self->catpath( ( $self->splitpath(shift) )[ -1 ] ); } sub File::Spec::realpath { my $self = shift; require Cwd; return $self->canonpath( Cwd::realpath(@_) ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: FindBin works differently on Fedora Core 2? (replace)
by eserte (Deacon) on Jun 08, 2004 at 17:43 UTC |