Hello Monks, I have a question, I am obviously not a pro with perl but I do understand alot.. My question is this, how can I open random files (only files which I want to be opened) example: ny.txt ca.txt nj.txt pa.txt ma.txt wa.txt
Say those are the files I want to be opened in random how would I go about doing that and then if a certain file is opened, say ma.txt was opened from the random selection I would like a random line from that file printed. What would be the proper way to do something like this?
Thanks in advance to all who respond
In reply to Opening random files then reading random lines from file. by fame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |