in reply to Problem with deleting the first n characters on a line

I would use a substitution operator to get rid of the leading "gpu" like so:
$first_line =~ s/^gpu//; print FOUND $first_line;
See perlop for more about substitution and perlre for more on regular expressions. Also, it doesn't look like you are using strict. Strict forces you to used good coding practices and helps you catch a lot of coding errors. Always, always put "use strict" shortly after the shebang line.

Update: If you just want to get rid of the first 3 arbitrary characters, use s/^.{3}//;