in reply to How do I delete the first n characters on a line

Another interesting thing about substr is that it can be assigned to (it's an lvalue). So if you really wanted to delete the characters, you could do this:

my $line = "abcdefghijk"; # delete the first 3 characters: substr($line, 0, 3) = ''; print $line; # "defghijk"

Originally posted as a Categorized Answer.