Thierry Vignaud <[EMAIL PROTECTED]> writes:
> Danny Tholen <[EMAIL PROTECTED]> writes:
>
> > > The problem being that it breaks the dependencies closure :-(.
> >
> > eh..closure?
>
> a lexical closure is a function with a map from variable names to
hmm, we were not talking about closure in programming languages
context :-).
> values. These values depends of the context of the definition of the
> closure, not of the execution context.
where did you find this definition? it's plain wrong ;p. (it
looks a bit like a python tutorial or something, eheh).
DB<65> $a = 1
DB<66> $k = sub { print "a<$a>\n" }
DB<67> $k->()
a<1>
DB<68> $a = 2
DB<69> $k->()
a<2>
--
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/