Michele Dondi skribis 2005-10-25 17:05 (+0200): > Now, one that I've sometimes desired is a "two level" $_, i.e. a variable, > say, $__ referring to the _second next_ enclosing lexical scope. I am > aware that in this vein one may ask a third analogue and so on, but let's > face it: $_ already covers 95% of cases, my hypothetical var would cover I > guess a remaining 4.5% of cases, and who cares for the rest? E.g.: > for @vert { > put_point $_, $__ for @horiz; > }
I find $__ confusing, and prefer $OUTER::_, which already exists. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html