On Thu, Nov 23, 2006 at 05:09:17PM -0500, Buddha Buck wrote:
> The way I see it, everything which defines a separate lexical scope (a
> block, a function, a closure. I forget if in "my $a; ... ; my $b" $b
> is visible in the ellipsis. If not, then a "my" statement also
> defines a separate lexica
First of all, thanks a lot for your comments.
On Wed, Nov 22, 2006 at 06:43:12PM -0500, Buddha Buck wrote:
> >{
> > my $x = something();
> > if $x==1 {
> >...code...
> > }
> >}
> >
> My experience with other statically typed by extremely flexable
> languages is that the pads tend to be arra
To add some more confusion to what Yuval wrote:
In general, it doesn't seem to be very clear how inner (lexically)
subs see their enclosing lexical environments. Possibly I'm simply
very confused, in which case un-confusing me would be much appreciated.
Here're some code snippets.
{
my $x =