Re: Closures, compile time, pad protos

2006-11-26 Thread Anatoly Vorobey
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

Re: Closures, compile time, pad protos

2006-11-22 Thread Anatoly Vorobey
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

Re: Closures, compile time, pad protos

2006-11-22 Thread Anatoly Vorobey
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 =

Re: Zcode interpreter release

2005-08-24 Thread Anatoly Vorobey
Perl's systen() tries to execute an external command directly when doesn't find any any shell metacharacters in the command line. Otherwise, it defaults to the shell. -- avva "There's nothing simply good, nor ill alone" -- John Donne