> following the example in the perldsc (data structures cookbook), i
wrote this
> piece of code to create an array of arrays from a data file :
>
>
> #!/usr/bin/perl -w
> use strict ;
>
> my @AofA ; # array of arrays of file contents
> open (fh1, " while () {
> push @AofA, (split /\t/)
On Mar 16, 2004, at 10:13 AM, Joseph Paish wrote:
following the example in the perldsc (data structures cookbook), i
wrote this
piece of code to create an array of arrays from a data file :
#!/usr/bin/perl -w
use strict ;
my @AofA ; # array of arrays of file contents
open (fh1, ") {
push @Ao
following the example in the perldsc (data structures cookbook), i wrote this
piece of code to create an array of arrays from a data file :
#!/usr/bin/perl -w
use strict ;
my @AofA ; # array of arrays of file contents
open (fh1, ") {
push @AofA, (split /\t/) ;
}
close (fh1) ;
print $Aof