develooper Front page | perl.perl5.porters | Postings from January 2023

Re: Making s:foo:bar: warn "reserved" - contentious idea?

Thread Previous | Thread Next
From:
"G.W. Haywood" via perl5-porters
Date:
January 14, 2023 23:48
Subject:
Re: Making s:foo:bar: warn "reserved" - contentious idea?
Message ID:
15df9d3-9d1a-1729-dfe0-cb3e453e9b64@jubileegroup.co.uk
Hi there,

On Sat, 14 Jan 2023, Paul "LeoNerd" Evans wrote:

> ... example, I'd love to be able to replace only the third "foo"
> with "bar" by doing something, maybe using syntax like ...
> ...
> Thoughts?

What's wrong with these?:

https://stackoverflow.com/questions/6785572/perl-replace-nth-substring-in-a-string

I strongly feel that contentious is the right word, also that this
proposal should be buried in soft peat and recycled as firelighters.

-- 

73,
Ged.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About