Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2021-04-14 09:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found