in reply to Saving an array to a disk file
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; [download]
Regards,Velusamy R.