develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #122005] deprecate POSIX::tmpnam

From:
Tony Cook via RT
Date:
October 2, 2014 03:46
Subject:
[perl #122005] deprecate POSIX::tmpnam
Message ID:
rt-4.0.18-21086-1412221588-297.122005-15-0@perl.org
On Tue Jul 22 20:40:38 2014, public@khwilliamson.com wrote:
> I have no objections to a deprecation warning.  Note that there is code 
> already in Posix.xs to emit only one warning perl call site of functions 
> that have it.  Do we want a warning every time tmpnam is called, or just 
> the first time from any given place in the code?  If the latter, the 
> code already there could serve as a template, or it could be extracted 
> into a function and used from more than one place
> 

I've attached an updated patch that avoids the duplicate warnings.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=122005



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About