This means that the regexp and chop methods will work on full "characters", but substr operates on "bytes".
I attended a talk recently at london.pm on this subject, the slides of which are here.
--
I'm Not Just Another Perl Hacker
In reply to Re: cut of first char of a string
by rinceWind
in thread cut of first char of a string
by holli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |