Subroutine pos seems to just return the position of last match in the string.
And I wonder why is it possible to assign a value to it?pos($string) = 1;
In reply to How is assigning to pos() possible? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |