http://www.perlmonks.org?node_id=1012530


in reply to Removing line from a string

If it's always "Key" on the first line

 $records = substr($records, 4);

Or up to the first newline

 $records = substr($records, index($records, "\n")+1);