It's because pos is pointing to the end of the string to be matched and you are asking the match to start at pos (the /c qualifier). I have no idea why the error refers to $_[2], perhaps you'd like to file a bug report?
In reply to Re: Weird undefined variable warning
by hipowls
in thread Weird undefined variable warning
by JStrom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |