Iteration Again (was «Re: Angle quotes and pointy brackets»)

2004-12-01 Thread David Green
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Brent 'Dax' Royal-Gordon) wrote: >I'm going to pull a Larry and think out >loud for a minute here. Note that I speak authoritatively here, Noted. Or not. =) >Treating it like an array is wrong. >On the other hand, what if a filehandle *is* an

Re: Angle quotes and pointy brackets

2004-12-01 Thread David Green
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Smylers) wrote: >David Green writes: >> I'm not even sure what those double-quotation marks are doing -- [...] >Look back at how Larry defined the guillemets: [...] >So the double-quotes in there are "shell-like", though I guess if you >don't ha

Re: Angle quotes and pointy brackets

2004-12-01 Thread Matthew Walton
Larry Wall wrote: I thought so. : I don't think I've ever used a hash slice in my life. Is there something : wrong with me? No, a lot of people are naturally monoindexous. I like that word. : >* The :w splitting happens after interpolation. So : > : > « foo $bar @baz » : > : > can end up

Re: Angle quotes and pointy brackets

2004-12-01 Thread Matthew Walton
Juerd wrote: Matthew Walton skribis 2004-12-01 9:55 (+): Yes, that would be fun... almost worth throwing out a compiler warning for that, especially if we've still got use warnings. Something like Warning: «{ }» creates empty list It should generate a warning similar to the warning of inte

Re: Angle quotes and pointy brackets

2004-12-01 Thread Juerd
Matthew Walton skribis 2004-12-01 10:11 (+): > Well that depends... are you intending to write programs, or drive the > world insane? Yes. Juerd

Re: continuation enhanced arcs

2004-12-01 Thread Luke Palmer
Bill Coffman writes: > I can see that there is true magic in the power of using references in > this way. Nonetheless, how can the compiler figure out that it can't > use an integer here? The compiler should use integers when it can, > but it sounds like you are saying that when a variable crosse

Re: qq:i

2004-12-01 Thread Jonathan Paton
Jim, > qq:i {} is just like qq{} except that when it interpolates variables, > those which are undefined are preserved literally. I think surprise might be a problem. E.g. my $index = 0; eval qq:i { my @array = A .. Z; sub example { for my $index (0 .. $#array) {

Re: continuation enhanced arcs

2004-12-01 Thread Bill Coffman
All, As with most technical problems, fully specifying them, is often half the battle. In this case, I think we're getting close to understanding the issues at least. [please treat all statements as possible questions] First, consider my original post in this thread: http://www.nntp.perl.org/gr