in reply to Re^4: Reason for this discrepancy with scalar?
in thread Reason for this discrepancy with scalar?
> 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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Reason for this discrepancy with scalar?
by dave_the_m (Monsignor) on Mar 16, 2024 at 16:31 UTC | |
by LanX (Saint) on Mar 16, 2024 at 17:03 UTC | |
by dave_the_m (Monsignor) on Mar 16, 2024 at 17:35 UTC | |
by LanX (Saint) on Mar 16, 2024 at 18:19 UTC |