At 5:46 AM +0100 7/11/02, [EMAIL PROTECTED] wrote:
>Dan Sugalski <[EMAIL PROTECTED]> writes:
>
>> At 4:24 PM +0100 7/10/02, [EMAIL PROTECTED] wrote:
>> >Dan Sugalski <[EMAIL PROTECTED]> writes:
>> >
>> >> At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote:
>> >> >3. Is C<%MY> intended to re
At 11:52 PM -0400 7/10/02, Chip Salzenberg wrote:
>According to Dan Sugalski:
>> One pad per block, rather than per sub.
>
>Because, of course, all blocks are subs. Got it.
Yep. (Well, modulo optimizations of course ;)
The place where you'll run into problems in where you have multiple
variab
According to Dave Mitchell:
> Based on what I rememeber from the long threads about this,
Ouch. I gather, then, that nntp.perl.org does not house complete list
archives, or else the discussion was not on p6-language ... ?
> sub import {
> caller(1).MY{'&foo'} = sub { ... };
> }
G
According to Dan Sugalski:
> One pad per block, rather than per sub.
Because, of course, all blocks are subs. Got it.
--
Chip Salzenberg - a.k.a. -<[EMAIL PROTECTED]>
"It furthers one to have somewhere to go."
On Thu, Jul 11, 2002 at 10:41:20AM -0400, Dan Sugalski wrote:
> The place where you'll run into problems in where you have multiple
> variables of the same name at the same level, which you can do in
> perl 5.
can it?
can you give an example?
--
In England there is a special word which means
On Wed, Jul 10, 2002 at 11:57:02PM -0400, Chip Salzenberg wrote:
> According to Dave Mitchell:
> > Based on what I rememeber from the long threads about this,
>
> Ouch. I gather, then, that nntp.perl.org does not house complete list
> archives, or else the discussion was not on p6-language ... ?
At 7:18 PM +0100 7/11/02, Dave Mitchell wrote:
>On Thu, Jul 11, 2002 at 10:41:20AM -0400, Dan Sugalski wrote:
>> The place where you'll run into problems in where you have multiple
>> variables of the same name at the same level, which you can do in
>> perl 5.
>
>can it?
Yes.
>can you give an
On Thu, Jul 11, 2002 at 02:29:08PM -0400, Dan Sugalski wrote:
> At 7:18 PM +0100 7/11/02, Dave Mitchell wrote:
> >On Thu, Jul 11, 2002 at 10:41:20AM -0400, Dan Sugalski wrote:
> >> The place where you'll run into problems in where you have multiple
> >> variables of the same name at the same lev
At 2:47 PM -0400 7/11/02, Chip Salzenberg wrote:
>According to Dan Sugalski:
>> At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote:
>> >3a. If so, how can one distinguish among the e.g. many C
>> >variables declared within the current function?
>>
>> One pad per block, rather than per
At 7:35 PM +0100 7/11/02, Dave Mitchell wrote:
>On Thu, Jul 11, 2002 at 02:29:08PM -0400, Dan Sugalski wrote:
>> At 7:18 PM +0100 7/11/02, Dave Mitchell wrote:
>> >On Thu, Jul 11, 2002 at 10:41:20AM -0400, Dan Sugalski wrote:
>> >> The place where you'll run into problems in where you have mul
According to Dan Sugalski:
> At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote:
> >3a. If so, how can one distinguish among the e.g. many C
> >variables declared within the current function?
>
> One pad per block, rather than per sub.
I just remembered why I thought that woundn't work:
On Thu, Jul 11, 2002 at 02:29:08PM -0400, Dan Sugalski wrote:
> At 7:18 PM +0100 7/11/02, Dave Mitchell wrote:
> >On Thu, Jul 11, 2002 at 10:41:20AM -0400, Dan Sugalski wrote:
> >> The place where you'll run into problems in where you have multiple
> >> variables of the same name at the same lev
On Thursday 11 July 2002 11:47 am, Chip Salzenberg wrote:
> According to Dan Sugalski:
> > At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote:
> > >3a. If so, how can one distinguish among the e.g. many C
> > >variables declared within the current function?
> >
> > One pad per block, rathe
At 01:08 PM 7/11/2002 -0700, Ashley Winters wrote:
>On Thursday 11 July 2002 11:47 am, Chip Salzenberg wrote:
> > According to Dan Sugalski:
> > > At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote:
> > > >3a. If so, how can one distinguish among the e.g. many C
> > > >variables declared w
At 9:18 PM +0100 7/11/02, Tim Bunce wrote:
>On Thu, Jul 11, 2002 at 02:29:08PM -0400, Dan Sugalski wrote:
>> At 7:18 PM +0100 7/11/02, Dave Mitchell wrote:
>> >On Thu, Jul 11, 2002 at 10:41:20AM -0400, Dan Sugalski wrote:
>> >> The place where you'll run into problems in where you have multipl
On Thu, Jul 11, 2002 at 03:18:27PM -0400, Dan Sugalski wrote:
> At 7:35 PM +0100 7/11/02, Dave Mitchell wrote:
> >On Thu, Jul 11, 2002 at 02:29:08PM -0400, Dan Sugalski wrote:
> >> At 7:18 PM +0100 7/11/02, Dave Mitchell wrote:
> >> >On Thu, Jul 11, 2002 at 10:41:20AM -0400, Dan Sugalski wrote:
>
On Thu, Jul 11, 2002 at 10:37:27PM +0100, Nicholas Clark wrote:
> Is there any specific case where you can't treat
>
> {
> my $foo = 12;
> print $foo;
> my $foo = "ho";
> print $foo;
> }
>
> as
>
> {
> my $foo = 12;
> print $foo;
> {
> my $foo = "ho";
> print $foo;
> }
>
At 11:45 PM +0100 7/11/02, Dave Mitchell wrote:
>On Thu, Jul 11, 2002 at 10:37:27PM +0100, Nicholas Clark wrote:
>> Is there any specific case where you can't treat
>>
>> {
>>my $foo = 12;
>>print $foo;
>>my $foo = "ho";
>>print $foo;
>> }
>>
>> as
>>
>> {
>>my $foo = 12;
At 4:43 PM -0400 7/11/02, Melvin Smith wrote:
>The only real use I can see of %MY is debugging. If people are going
>to take handles to pads and modify lexicals in closures, continuations
>and routines from the outside, it probably means that the item needs to
>be a class.
Yeah, I'm expecting it
It's time for my weekly post to this old thread. The grammar has
grown enough to deserve more than one file, and is starting to change
in new directions. For example, it's now Turing-complete, if you have
a Parrot engine and a bit of spare time. Call it a primitive "demo
version" of some of Per
On Thu, Jul 11, 2002 at 04:43:34PM -0400, Melvin Smith wrote:
> And side effects like "I call you, you modify me invisibly" seems
> more like taking dangerous drugs than programming.
>
> Yep, I warned you about calling that routine, now look what it did to
> your brains.
Um, I shouldn't real
Chip Salzenberg writes:
>Ouch. I gather, then, that nntp.perl.org does not house complete list
>archives, or else the discussion was not on p6-language ... ?
It should have complete archives. It uses the same backend data as
the html version on archive.develooper.com.
22 matches
Mail list logo