Hi, Try this,
TIMTOWDI
use strict; use warnings; my @array = qw(foo bar baz); open OUT, ">filename.txt" or die "$!"; $,="\n"; print OUT @array; close OUT;
Regards,
Velusamy R.
In reply to Re: Saving an array to a disk file
by Samy_rio
in thread Saving an array to a disk file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |