in reply to text file parsing with chomp
Removing the first 5 chars from a $string:
substr($string,0,5)=''; [download]
Or alternatively:
substr $string, 0, 5, ''; [download]