[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Unique temporary filename
> >>>>> "Peter" == Peter Duffy <Peter.Duffy [at] supanet.net.uk> writes:
>
> Peter> On Wed, 2002-05-15 at 15:44, David Morris wrote:
> >> The Camel book doesn't mention a mktemp though... isn't that
> >> part of the C runtime (says he dredging the outermost reaches
> >> of his feeble mind)?
Google is your friend ... typing "perl mktemp" into groups.google.com
revealed this thread (via makeashorterlink):
http://makeashorterlink.com/?Q3F6250E
Which says that a tmpnam() call exists in the POSIX module, which should do
exactly what people are looking for.
Chris...
--
\ Chris Johnson \ NP: Heart - 07. Who Will You Run To
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.