open RAMFILE, '<', \$bigstring; while( { ### process in the normal way. }