On 2015-06-26 13:58:57, TODDR wrote:
Show quoted text> In 5.22, tmpnam is deprecated.
>
>
http://search.cpan.org/~rjbs/perl-5.22.0/ext/POSIX/lib/POSIX.pod
>
> tmpnam
> Returns a name for a temporary file.
>
> $tmpfile = POSIX::tmpnam();
>
> For security reasons, which are probably detailed in your system's
> documentation for the C library tmpnam() function, this interface
> should not be used; instead see File::Temp.
Note that tests are now failing -- this means **THE DISTRIBUTION IS NOT INSTALLABLE UNDER NEW PERLS**, including the upcoming 5.26.0:
$ make test
...
===( 166;0 0/5 0/4 0/? 0/? )====================================Unimplemented: POSIX::tmpnam(): use File::Temp instead at /Volumes/amaretto/Users/ether/perl5/perlbrew/perls/25.11/lib/5.25.11/darwin-2level/POSIX.pm line 185.
Unimplemented: POSIX::tmpnam() at t/UNIX_test.t line 5.
BEGIN failed--compilation aborted at t/UNIX_test.t line 5.
t/UNIX_test.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Test Summary Report
-------------------
t/UNIX_test.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=15, Tests=180, 0 wallclock secs ( 0.07 usr 0.04 sys + 0.89 cusr 0.21 csys = 1.21 CPU)
Result: FAIL
Failed 1/15 test programs. 0/180 subtests failed.
make: *** [test_dynamic] Error 255