BrowserUK's idea would probably suffice. Another way would be to set the INPUT_RECORD_SEPARATOR variable ($/) to "\xC", which would allow you to read one "page" at a time into $_, instead of just one text line at a time. Then you could split the page record into lines, if that's what you need:
{
local $/ = "\x0C"; # form-feed character (^L)
while (<>) { # $_ contains one whole "page"
@lines = split /\n/; # split into lines if you need to
...
}
}
# $/ is now back to its "normal" setting