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

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

All, I'm pretty new to perl and i'm running into a little difficulty. I have a string $records that contains the following:

Key
1
2
3
4
5

If somebody could instruct me how to remove the "Key" and the \n from the string I would be most appreciative. It will always be on the first \n