On 8 Feb 2007 16:25:57 -0000, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

Instead of print going to the terminal, how do I store it,
to a file

Once you've opened a file, you can print to it instead of to the
terminal. The open() operator is described in the perlfunc manpage.

or an array

For that, you could use push() instead of print; push is also in
perlfunc. (You could probably even find a module on CPAN to help you
"print" directly to an array, if that's really necessary.)

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to