> should $i's initial value be regarded as a string or integer?
Ok I get your point.
I'd say regexes are string operations.
And parsing the capture group for occurrences of \d might be too complicated. Especially because (\d\.\d) is a float.
Anyway does Perl really set the IV slot in your example?
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^5: Reason for this discrepancy with scalar?
by LanX
in thread Reason for this discrepancy with scalar?
by kikuchiyo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |