After doing some reading and searching on rand() I haven't quite found any documentation on something I'm trying to accomplish. I know how to randomize numbers from 0 .. 100 or from 50 .. 100 but I'm trying to randomize more than just numbers. Can someone show me the most simplistic way to randomly choose x elements from an array?
ie: @array = qw(aaron george bob tom nick heyyou john);
From this I want to randomly pick out an x number (in this case let's say we want to pull back 2) words from the list. Can someone help me figure this one out?
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"