(Similar with using func($x++,$x--) where the evaluation order is undefined and aliases are passed)
Splitting the statement into multiple ones with just one postmatch should fix it.
I'll try later...
See Re^2: ${^POSTMATCH} problem
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: ${^POSTMATCH} problem
by LanX
in thread ${^POSTMATCH} problem
by pl_pm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |