okok, here's what i did, but it only prints out the first line of the document, i also tried "\n\n", it does the same thing, this one little problem is killing me. thanks for everyone's help
==================================================
$file = 'test';
open FILE, $file;
$file1=<FILE>;
chomp;
@paras=split /^$/, $file1;
foreach(@paras) {
print "$_";
print "="x40;
}
===================================================
==================================================
$file = 'test';
open FILE, $file;
$file1=<FILE>;
chomp;
@paras=split /^$/, $file1;
foreach(@paras) {
print "$_";
print "="x40;
}
===================================================