Now, i want to use fgets or any other function to break the file into individual records. What code can I use to implement this. Any help will be appreciatedmy $filename = 'filename.txt'; open(my $fh, '<', $filename) or die "Could not open file '$filename' $!"; while (my $row = <$fh>) { chomp $row; print "$row\n";
In reply to how to use fgets to Break file into individual records by yommy1831
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |