File::Spec is core, so you could report it via RT ( http://rt.perl.org/ ) or the perl5porters mailing list.
Carl On 10/12/05, Tetsuro KURITA <[EMAIL PROTECTED]> wrote: > 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/ > ======================================================= > >