in reply to Re^2: block extraction
in thread block extraction
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: block extraction
by zzgulu (Novice) on Feb 04, 2009 at 18:54 UTC | |
by GrandFather (Saint) on Feb 04, 2009 at 20:21 UTC |