Well, if you know how many ==='s there are making up the record seperator, you can just set $/ appropriately (don't forget to local() it though). Then you can also use chomp to throw away the record seperator....
you end up with something like this
local($/) = '=================';
while(<INPUT>) {
chomp;
#Do something with your record here
}
cephas