Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Renaming an image file

by aquarium (Curate)
on Nov 28, 2010 at 22:21 UTC ( #874142=note: print w/ replies, xml ) Need Help??


in reply to Renaming an image file

does the number absolutely need to be random..or just unique? 00000001 consecutively increasing to 99999999 works for me as "unique" identifiers. you can always pick up where you left off, finding largest current number in filenames in the directory. you could always append a pseudo-random number after the initial sequence number, to prevent easy guessing.

the hardest line to type correctly is: stty erase ^H


Comment on Re: Renaming an image file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://874142]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2014-12-19 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (84 votes), past polls