Re: What's MY.line?

2002-07-12 Thread Robert Spier
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.

Re: What's MY.line?

2002-07-11 Thread Dan Sugalski
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 reflect the PAD?

Re: What's MY.line?

2002-07-11 Thread Dan Sugalski
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 variables

Re: What's MY.line?

2002-07-11 Thread Chip Salzenberg
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 { ... }; } Got

Re: What's MY.line?

2002-07-11 Thread Chip Salzenberg
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.

Re: What's MY.line?

2002-07-11 Thread Dave Mitchell
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

Re: What's MY.line?

2002-07-11 Thread Dave Mitchell
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 ... ?

Re: What's MY.line?

2002-07-11 Thread Dan Sugalski
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 example?

Re: What's MY.line?

2002-07-11 Thread Dave Mitchell
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 level,

Re: What's MY.line?

2002-07-11 Thread Dan Sugalski
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 Cmy $foo variables declared within the current function? One pad per block, rather than per sub.

Re: What's MY.line?

2002-07-11 Thread Dan Sugalski
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 multiple

Re: What's MY.line?

2002-07-11 Thread Chip Salzenberg
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 Cmy $foo variables declared within the current function? One pad per block, rather than per sub. I just remembered why I thought that woundn't work:

Re: What's MY.line?

2002-07-11 Thread Tim Bunce
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 level,

Re: What's MY.line?

2002-07-11 Thread Ashley Winters
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 Cmy $foo variables declared within the current function? One pad per block, rather

Re: What's MY.line?

2002-07-11 Thread Dan Sugalski
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 multiple

Re: What's MY.line?

2002-07-11 Thread Nicholas Clark
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: The

Re: What's MY.line?

2002-07-11 Thread Dave Mitchell
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; } } Well, it B*gg*rs

Re: What's MY.line?

2002-07-11 Thread Dan Sugalski
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; print $foo; {

Re: What's MY.line?

2002-07-10 Thread Dave Mitchell
On Tue, Jul 09, 2002 at 09:50:26PM -0400, Chip Salzenberg wrote: Based on what I rememeber from the long threads about this, 3. Is C%MY intended to reflect the PAD? loosely speaking yes. 3a. If so, how can one distinguish among the e.g. many Cmy $foo variables declared

Re: What's MY.line?

2002-07-10 Thread Dan Sugalski
At 9:50 PM -0400 7/9/02, Chip Salzenberg wrote: 3. Is C%MY intended to reflect the PAD? Yes. 3a. If so, how can one distinguish among the e.g. many Cmy $foo variables declared within the current function? One pad per block, rather than per sub. --

Re: What's MY.line?

2002-07-10 Thread Melvin Smith
At 04:24 PM 7/10/2002 +0100, [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 reflect the PAD? Yes. Hey! How's this for a scary thought: $continuation.the_pad I'll get my coat. Hah, good

Re: What's MY.line?

2002-07-10 Thread Rafael Garcia-Suarez
Chip Salzenberg wrote in perl.perl6.language : In (re?)examining the Apocalypses, I've found something that confuses me a bit. A2 refers to CMY as a pseudopackage and says: __LINE__ becomes MY.line __FILE__MY.file [...] With regard to CMY: 2. What are

Re: What's MY.line?

2002-07-10 Thread Dan Sugalski
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 reflect the PAD? Yes. Hey! How's this for a scary thought: $continuation.the_pad What's that supposed to do, though?

Re: What's MY.line?

2002-07-10 Thread Dan Sugalski
At 10:12 PM + 7/10/02, Rafael Garcia-Suarez wrote: Chip Salzenberg wrote in perl.perl6.language : In (re?)examining the Apocalypses, I've found something that confuses me a bit. A2 refers to CMY as a pseudopackage and says: __LINE__ becomes MY.line __FILE__