Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Recursive substitution

by JadeNB (Chaplain)
on Nov 10, 2009 at 15:37 UTC ( #806241=note: print w/replies, xml ) Need Help??


in reply to Re: Recursive substitution
in thread Recursive substitution

While I agree that your approach to s/// is the most common, and probably the best, if we wanted there to be only one way to do things then we'd be using Python the principle that TIMTOWTDI can surely be extended to TIMTORTDI (there is more than one reason to do it!). :-)

As an illustration of the use of recursive substitution, consider macro-expansion languages. Recursion means the difference between a language that is Turing complete and one that is not. (Note that the latter article is quoted approvingly—sometimes totality is better than Turing completeness.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2020-02-25 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (108 votes). Check out past polls.

    Notices?