I have an array populated with data, I want to dump its content to file but
my following code is not writing any data out! HELP:
sub wanted {
@FILES = ();
if ( $File::Find::name =~ /_boot\.js$/ )
{
push @FILES, "$File::Find::name\n";
}
print (@FILES);
open(BOOT_FILES,">boot_files.txt");
print BOOT_FILES @FILES;
close BOOT_FILES;
}
Kaustav
- open file, find lines and print to a second fil... McCormick, Rob E
- Re: open file, find lines and print to a s... Dan Brown
- Re: open file, find lines and print to a s... Paul
- Re: open file, find lines and print to a s... Gil Tucker [ateliermobile]
- Re: writing an array to file Kaustav Bhattacharya
- Re: writing an array to file Stephen P. Potter
- Re: writing an array to file Paul
- Re: writing an array to file Sean O'Leary
- RE: open file, find lines and print to a s... McCormick, Rob E
- RE: open file, find lines and print to... J. Patrick Lanigan
- RE: open file, find lines and print to a s... McCormick, Rob E
