>>>>> "James" == James Michael Dupont <[EMAIL PROTECTED]> writes:

>> Good question.  The scope of embedded rules in rmutt is dynamic 
>> rather than lexical.  In other words, embedded rules remain in effect
>> 
>> from the moment they are encountered in the expansion process until 
>> either the termination of the program or they are shadowed by another
>> 
>> embedded rule with the same name.

Ahh, that makes the implementation so much easier, but also really
messes with things in a shared environment unless I make a copy of
tree before I start unwinding it.

Otherwise, I was going to have to start adding "at end of rule, pop
the following entries", like Perl's "local" implementation.

Now to try to figure out what the rest of his docs *really* mean.  Of
course, I always have the source code. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to