Here's a simple example to open the file and print out the records. When you understand this, you can begin to manipulate the records before printing.
use strict; use warnings; my $file = "t.txt"; $/="\n\n"; open IN, "<", $file or die "Unable to open $file: $!"; while(<IN>){ print "=======\n", $_, "=======\n\n"; } close IN;
In reply to Re^3: block extraction
by hbm
in thread block extraction
by zzgulu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |