in reply to RE: regexps and hashes
in thread regexps and hashes

or simply
while (<FILEDATA>){ if (/^TTITLE(\d+)=(.+)$/) { $title{$1} = $2; } }