Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: TIMTOWTDI Challenge: Create a filename

by pobocks (Chaplain)
on Jan 11, 2009 at 07:18 UTC ( #735479=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $max_num = 255;
    my @chars = ('a' .. 'z', 'A' .. 'Z',0 .. 9, '_'); 
    my $filename = join("", map { $chars[int rand(0+@chars)] } 1 .. $max_n
    +um);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://735479]
help
Chatterbox?
[LanX]: unusual that "Pimp my Bride" never made it into TV (?)
LanX sighs ... no idea stupid enough
[choroba]: "Smack My Bitch Up" did, though
[Eily]: that's the internet for you LanX
[Eily]: and I'm pretty sure there's a rule somewhere that states that the stupider the idea, the more likely it is to already have been done

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2017-03-27 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.