in reply to Re: Deleting from front of string
in thread Deleting from front of string

Also the value that substr returns is an lvalue (i.e. can be assigned to).

perl -le '$_ = "foo bar"; substr($_,0,2) = ""; print'