in reply to Creating a random generator

To put it bluntly, you don't know any programming languages. HTML and CSS are to programming as knowing how to drive is to building a car from the ground up; yes it's a useful skill and roughly related but verrrrry little knowledge will be of use across the problem domains. Your best bet is to get an introductory book (say Learning Perl from ORA) and absorb that. Then you'll be better equipped to proceed; and you've already got a ready made problem to do your own experimentation.

Sure someone could give you a code snippet showing you how to use rand and you could cargo cult that into something that produces some results, but you'll be back again asking how to print it out. Or how to read the list of options from a file. Or . . . ad infinitum. Learn the basics first and you'll save yourself and the people you pester for help much frustration.

Replies are listed 'Best First'.
Re^2: Creating a random generator
by Lady_Aleena (Priest) on Sep 06, 2007 at 14:34 UTC

    I know that markup and programming languages are very different and have tried to learn the basics from what I have found on the web. I am still looking for a site that has instructions for Perl that is like the HTML and CSS specifications on the W3C site.

    The best way for me to learn something is to learn how to apply it to my current project. If it would cause to much trouble here, I will try to find somewhere else to get the guidance I will need to complete it.

      I don't know if W3C has tutorials (and I'm having problems accessing the site from here), but if you're looking similar to the HTML and CSS specs, then you can read through the Perl documentation. Don't forget to check out the modules that come with Perl too. (If you're using ActivePerl, it installs this documentation locally in HTML format.)
        The W3C site doesn't have tutorials, but the specifications are very well written. It also has those nifty validators too.