in reply to Re: Re: Automatically creating incremental file names
in thread Automatically creating incremental file names

Piffle!

Addendum: The output shown, was not a list of names, but a list of times.

Have you looked in File::Temp?

Have you tried using it? Have you seen how slow and cumbersome it is?

Have you seen the race conditions it creates?

Have you seen the list of caveats and exclusions when used on systems other that *nix? Ie. VMS, Win32.

ANY mechanism for determining unique file names that works by guessing a possible candidate, and then looking to see if it already exists, is doomed to failure in multi-processor and/or shared media environments.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
  • Comment on Re: Re: Re: Automatically creating incremental file names