in reply to Parsing very big files GB

Check out Tie::File .. From the description:
The file is not loaded into memory, so this will work even for gigantic files.