Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl substitute with the nth match

by misterperl (Pilgrim)
on Jan 11, 2023 at 20:01 UTC ( [id://11149539]=note: print w/replies, xml ) Need Help??


in reply to Perl substitute with the nth match

THank-you all very helpful replies. This is one of those rare times using the swiss-army-knife that is Perl was missing the exact blade I need!

Replies are listed 'Best First'.
Re^2: Perl substitute with the nth match
by hippo (Bishop) on Jan 12, 2023 at 09:28 UTC

    It isn't missing the blade. The blade is /e and you've just chosen not to use it for some undeclared reason.


    🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149539]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found