Also the value that substr returns is an lvalue (i.e. can be assigned to).
perl -le '$_ = "foo bar"; substr($_,0,2) = ""; print'
In reply to Re: Re: Deleting from front of string
by Fletch
in thread Deleting from front of string
by krose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |