I find a problem of a rel2abs method of File::Spec module.
rel2abs can't treat relative paths which starts with '../'.
example:
use File::Spec;
my $relpath = "../hello";
my $basepath = "/aaa/bbb/ccc";
my $abspath = File::Spec->rel2abs($relpath,$basepath);
print "$abspath\n"; ## result: /aaa/bbb/ccc/../hello
I guess the result should be '/aaa/bbb/hello'
As a result of checking source of File::Spec, It seems that
File::Spec::Unix module don't consider relative path starts with '../'.
I could not find an address of a place to which I should report.
Could you anyone tell me how I should deal with this problem.
=======================================================
Tetsuro KURITA
E-mail: [EMAIL PROTECTED]
http://homepage.mac.com/tkurita/scriptfactory/
=======================================================