Re: [MacPerl-Porters] [ macperl-Bugs-489074 ] return value of File::Spec->tmpdir()

[email protected] (Peter Prymmer) Sun, 9 Dec 2001 02:46:14 +0000 (GMT)
Newsgroups perl.macperl.porters
Message-ID <[email protected]>
On Wed, 5 Dec 2001, Thomas Wegner wrote:

> At 12:56 Uhr -0800 04.12.2001, [email protected] wrote:
> >Bugs item #489074, was opened at 2001-12-04 12:56
> >You can respond by visiting:
> >http://sourceforge.net/tracker/?func=detail&atid=107940&aid=489074&group_id=7940
> >
> >Category: None
> >Group: None
> >Status: Open
> >Resolution: None
> >Priority: 5
> >Submitted By: Axel Rose (axelrose)
> >Assigned to: Nobody/Anonymous (nobody)
> >Summary: return value of File::Spec->tmpdir()
> >
> >Initial Comment:
> >#!perl -w
> >use File::Spec;
> >
> >my $tmpdir = File::Spec->tmpdir();
> >print "tmpdir = '$tmpdir'\n";
> >
> >__END__
> >
> >5.6.1b2 returns:
> >tmpdir = 'Festplatte:Temporary Items::'
> >
> >5.20r4 returns:
> >tmpdir = ''
> >
>
>
> Axel,
>
> older versions of File::Spec don't implement tmpdir(), so that's
> probably the reason why 5.20r4 returns nothing.

Does C<use strict;> and C<-w> turn up any admonitions to not call
unimplemented  methods?

Peter Prymmer