in reply to Setting end position for the regexp engine
Let function substr return a lvalue which could be store in a (new type of?) scalar. The lvalue can then be used together with =~.
That is already possible.
C:\test>p1 $s = 'This is a string (with a bit in the middle) before the string en +ds';; $r = \substr $s, 18, 24;; print $$r;; with a bit in the middle $$r =~ s[([a-z]+)][\U$1]g;; print $s;; This is a string (WITH A BIT IN THE MIDDLE) before the string ends
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Meditations