On 2022-10-18 20:08, Paul Smith wrote:
On Tue, 2022-10-18 at 14:46 -0700, Paul Eggert wrote:
Solaris 10 (supported by Oracle through January 2024) uses Perl
5.8.4. tests/README says Perl 5.004 or later is needed

That is wrong.  In fact the tests/README file hasn't been updated an a
very long time (I actually forgot it was there).

However it's strange because File::Temp was added in 5.6.x.  But it's
possible that newdir wasn't available until 5.10, back in 2007... it's
a little hard to tell.

newdir was added in File::Temp version 0.19, whereas Solaris 10 has File::Temp 0.14.

A binary search of https://www.cpan.org/src/5.0 shows that newdir was added in Perl 5.10.1, which has File::Temp 0.22. (It is not in Perl 5.10.0 which has File::Temp 0.18.) The Temp.pm source file was renamed from lib/File/Temp.pm to cpan/File-Temp/Temp.pm in the next release, Perl 5.11.0, without changing any of contents of Temp.pm (I don't know the significance of this rename).

Reply via email to