in reply to Comma delimited file manipulation -- help required.
ok , here's how to extract info from the file line by line
# open the file open(FH,$filename) or die $!; # loop through the file till the end of it line by line while ( my $line = <FH> ) { #remove "\n" from the end of the line chomp($line); # now Extract values from line in array my @array = split(/,/,$line); #here you can do whatever you want in the valus you have , $array[0] i +s the first element } close(FH);
Hope that helps
|
|---|