in reply to making a list and saving results

You want a function that iterates over an array, or does something ... foreach ... element in an array.

For saving output, you want a function that would ..open..and ..close.. a file. Or maybe just use your shell's redirection.

Can I ask what resources you're using to learn perl?

--
jpg

Replies are listed 'Best First'.
Re^2: making a list
by surfbass (Initiate) on May 29, 2005 at 20:47 UTC
    the o reilley book, but it puts me to sleep, and its usually finding to go on perlmonks...and thank you btw

      surfbass wrote: the o reilley book, but it puts me to sleep

      Do you mean the llama book, Learning Perl? I encourage you to tank up on your favorite caffiene source and spend two days to work through the book. Do every single exercise. The physical act of writing the necessary code to do the exercises will implant some PerlThink(tm) in your brain. It may be a drag while you're doing it. Once you're done you'll have a foundation that will make your time spent here much more productive and valuable.

      Be Appropriate && Follow Your Curiosity