Try it like this: \(&mysub(<$1> <$2>));
What does that do?
Improve your skills with Modern Perl: the free book.
In reply to Re^2: unexpected: inside sub($1,$2) if do // then arguments will be changed
by chromatic
in thread unexpected: inside sub($1,$2) if do // then arguments will be changed
by bdimych
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |