Search Discussions

42 discussions - 447 posts

  • I'm trying to write a revised operator precedence table for perl6, similar to the one in perlop.pod. This is what I have come up with based on Apocalypse 3 and Exegesis 3. Does anyone have comments? ...
    John WilliamsJohn Williams
    Sep 27, 2002 at 12:04 am
    Nov 24, 2002 at 3:23 pm
  • Your post was very helpful to pull us back to sanity. Allowing list context to create a 1-item list out of a scalar makes sense in my mind. (ie @a = 7 sets @a[0] to 7). ~ John Williams P.S. Caution: ...
    John WilliamsJohn Williams
    Sep 24, 2002 at 5:54 am
    Oct 1, 2002 at 8:42 pm
  • Recently I presented a Perl 6 overview talk at a Java conference. The audience was mostly mute, which is unfortunate as I wanted to hear some feedback or at least some groans of pain, but there was ...
    Michael G SchwernMichael G Schwern
    Sep 30, 2002 at 12:11 am
    Oct 12, 2002 at 2:37 pm
  • I'm thinking XS thoughts because we're going to need a few external things at SOME point.... It would be so nice if Perl 6's XS was part of the language, rather than an external pre-processor. ...
    Aaron ShermanAaron Sherman
    Sep 12, 2002 at 9:36 pm
    Sep 16, 2002 at 4:02 pm
  • Hello All, Has anyone considered a syntax for allowing subroutines to have many different names for the same argument? For example, in CGI.pm, many methods support the "-override" parameter but can ...
    Peter BehrooziPeter Behroozi
    Sep 4, 2002 at 2:44 am
    Sep 9, 2002 at 3:08 pm
  • code($_) is passing a topic, not really expecting code() to take a parameter. Because this indicates defaulting to a binding, which was not something I'd heard mentioned as valid. Yeah, this is a ...
    Aaron ShermanAaron Sherman
    Sep 14, 2002 at 5:29 am
    Sep 30, 2002 at 6:23 pm
  • So, the new rule for blocks and when the need semicolons seems to be "You don't need a semicolon if the block is the last argument of a subroutine which expects a block as its last argument", which ...
    Piers CawleyPiers Cawley
    Sep 11, 2002 at 7:47 am
    Sep 14, 2002 at 4:52 pm
  • Folks, Larry is mostly out of touch this week, so working ourselves into a fury over a potential design issue is probably a bit counterproductive. Perhaps someone can put together a statement of the ...
    Dan SugalskiDan Sugalski
    Sep 24, 2002 at 8:18 pm
    Oct 9, 2002 at 4:12 pm
  • I'm working on a library of rules and subroutines for dealing with UNIX system files. This is really just a mental exercise to help me grasp the new pattern stuff from A5. I've hit a snag, though, on ...
    Aaron ShermanAaron Sherman
    Sep 3, 2002 at 3:12 am
    Sep 8, 2002 at 2:04 pm
  • What should this do: my $x = "the letter x"; print "yes" if $x =~ /the { $x .= "!" } .* !/; Does this print "yes"? print "yes" if "helo" =~ /hel { .pos-- } lo/; Would it be correct for this to print ...
    Steve FinkSteve Fink
    Sep 15, 2002 at 11:27 pm
    Sep 23, 2002 at 1:31 pm
  • Apocalypse 4 mentions unary '?' . Since this is used to force boolean context, I would assume that it has the same precedence as unary '+' and '_' which force numeric and string context respectively. ...
    Joe GottmanJoe Gottman
    Sep 27, 2002 at 1:20 am
    Oct 11, 2002 at 1:27 am
  • This is still a monolith, but it's getting better. It's now stored in P6C/Builtins/CORE.p6m in my tree. More functions are coded, and I now differentiate between the functions that need external ...
    Aaron ShermanAaron Sherman
    Sep 6, 2002 at 5:36 am
    Sep 10, 2002 at 8:59 pm
  • Ok, so without knowing what the XS-replacement will look like and without knowing what we're doing with filehandle-functions (is tell() staying or does it get removed in favor of $fh.tell()) and a ...
    Aaron ShermanAaron Sherman
    Sep 5, 2002 at 5:05 am
    Sep 5, 2002 at 7:26 pm
  • Question #1: If \n matches any one of the platform-specific newline character sequences, does that mean that if I have a string like this[*]: "foo bar baz\rfoo bar baz\nfoo bar bar\r\n" that \n will ...
    Jonathan Scott DuffJonathan Scott Duff
    Sep 7, 2002 at 5:10 am
    Sep 9, 2002 at 4:52 pm
  • It was settled a while ago that sub arguments would be defaulted like this: sub load_data ($version / /=1) {...} (The space between / and / is on purpose, my emailer has problems if they are ...
    Sep 4, 2002 at 8:02 pm
    Sep 5, 2002 at 11:59 am
  • Hi folks! I did some tests with the new for loop and don't understand some of the results. Perhaps this is just due to some warts in the implementation at the moment. When looping over two lists of ...
    Sep 26, 2002 at 12:54 pm
    Oct 9, 2002 at 12:52 am
  • I was thinking about regular expressions and hypotheticals again this weekend, and something was bothering me quite a lot. How do rules create hypotheticals? Since a rule behaves like a closure, I ...
    Aaron ShermanAaron Sherman
    Sep 9, 2002 at 1:49 pm
    Sep 10, 2002 at 10:50 am
  • While Apocolypse 5 raises some good points about problems with the old regex syntax, its new syntax is actually worse than in perl 5. Most regexes, such as this one to match a C float ...
    Mr. NobodyMr. Nobody
    Sep 7, 2002 at 3:16 am
    Sep 9, 2002 at 9:12 pm
  • In Perl5, I might write: sub set_date { my ($self, $date) = @_; $date =~ /(\d{4})-(\d{2})-(\d{2})/ or croak "bad date format"; @$self{qw/year month day/} = ($1,$2,$3); } I could then call: $foo- ...
    David WhippDavid Whipp
    Sep 4, 2002 at 7:06 pm
    Sep 6, 2002 at 2:06 pm
  • The Perl 6 Summary for the Week Ending 20020915 Happy birthday to me! Happy birthday to me! Happy birthday dear meeeee! Happy birthday to me! And, with a single breech of copyright, Piers was free. ...
    Piers CawleyPiers Cawley
    Sep 18, 2002 at 3:42 pm
    Sep 23, 2002 at 8:51 am
  • Backtracking syntax includes: :, ::, :::, <commit , <cut I like the way the ':' looks in patterns. But I noticed I have several niggles about a number of other aspects of the above syntax. All the ...
    Sep 22, 2002 at 6:53 pm
    Sep 23, 2002 at 5:04 am
  • The thing I'd like to do right now is turn on :w for all rules. A Fortran grammar might want to turn on :i for all rules. Maybe add modifiers to the grammar declaration? grammar Fortran :i { ... } It ...
    Ken FoxKen Fox
    Sep 1, 2002 at 12:58 pm
    Sep 6, 2002 at 4:51 pm
  • The thread on hypotheticals has caused me to reread that section of A5 a few times now and a couple of paragraphs bother me the more I read them. I'll just quote the parts that bother me: ... If a ...
    Jonathan Scott DuffJonathan Scott Duff
    Sep 4, 2002 at 9:24 pm
    Sep 5, 2002 at 12:33 pm
  • In several forms of courier, and some other text fonts I view code in, I find it hard to visually distinguish the pattern element: <( ... ) from: <{ ... } What about replacing the former syntax with: ...
    Sep 22, 2002 at 3:51 pm
    Sep 23, 2002 at 4:50 pm
  • The Apocalypse on operators says that if one of the operands of a hyperoperator is a scalar, then that scalar is (nominally) treated as an array of copies of that scalar. In other words: my $foo=1; ...
    Brent DaxBrent Dax
    Sep 18, 2002 at 6:57 am
    Sep 19, 2002 at 3:51 pm
  • It seems to me that what I mostly do is wave my arms about my head with a concern and then stay silent whenever praise is required. Everyone - consider yourselves praised :-) On to the concern (which ...
    Erik Steven HarrisonErik Steven Harrison
    Sep 4, 2002 at 2:36 pm
    Sep 4, 2002 at 3:15 pm
  • Kv Org wrote I'm not an expert in this area, but I think that a capabilities based model is probably better than compartments. The model would be that a program starts with a set of capabilities; and ...
    David WhippDavid Whipp
    Sep 28, 2002 at 1:14 am
    Oct 4, 2002 at 3:52 pm
  • I realise that it's almost 2 years since the RFC deadline, plus we're several apocolypses past the appropriate Camel chapters. IIRC there are 5 different variants of m// normal /g scalar context: ...
    Nicholas ClarkNicholas Clark
    Sep 8, 2002 at 6:49 pm
    Sep 24, 2002 at 3:06 am
  • Here is a discussion thread of Exegesis 5 http://www.perl.com/pub/a/2002/08/22/exegesis5.html at http://developers.slashdot.org/developers/02/08/23/1232230.shtml?tid=145 But the signal/noise is too ...
    Tolkin, SteveTolkin, Steve
    Sep 20, 2002 at 9:08 pm
    Sep 21, 2002 at 9:07 am
  • Apologies for trying to resuscitate this old horse, but a new idea occurred to me. Back in October I suggested that $a ^+= @b would act like reduce, but in discussion it was decided that it would act ...
    John WilliamsJohn Williams
    Sep 7, 2002 at 1:17 am
    Sep 9, 2002 at 11:35 am
  • Perl6 Summary for the week ending 2002-09-01 Well, it's been a week. Damian came to London and made our heads spin; perl6-language erupted in a flurry of interesting, high signal/noise threads; ...
    Piers CawleyPiers Cawley
    Sep 3, 2002 at 11:28 am
    Sep 3, 2002 at 11:42 am
  • I have always longed for a more flexible security system that could limit what a part of code could do in Perl. In perl5 Safe.pm (and Safe::Hole) have serious limitations and problems since it is ...
    Kv OrgKv Org
    Sep 27, 2002 at 6:47 pm
    Sep 27, 2002 at 6:47 pm
  • From: Luke Palmer fibonaci@babylonia.flatirons.org Luke, thanks and congratulations on a well written case. You put into words exactly what I was trying to put into words myself. Now I don't have to ...
    Sep 25, 2002 at 12:41 pm
    Sep 25, 2002 at 12:41 pm
  • The Perl 6 Summary for the Week Ending 20020822 So, another week, another Perl 6 summary. Let's see if I can get through this one without calling Tim Bunce 'Tim Bunch' shall we? Or maybe I should ...
    Piers CawleyPiers Cawley
    Sep 25, 2002 at 10:17 am
    Sep 25, 2002 at 10:17 am
  • Design Issues for Foreign Function Interfaces A survey of existing native interfaces for several languages and some suggestions by Reini Urban http://xarch.tu-graz.ac.at/autocad/lisp/ffis.html -- ...
    Garrett GoebelGarrett Goebel
    Sep 16, 2002 at 3:32 pm
    Sep 16, 2002 at 3:32 pm
  • What are the restrictions on "is rw"? For example, can it be used with variables of a particular type? If so, does the parameter passed have to already be that type? What does this do? sub ...
    Aaron ShermanAaron Sherman
    Sep 13, 2002 at 3:37 am
    Sep 13, 2002 at 3:37 am
  • The Perl 6 Summary for the Week Ending 20020908 Well, what a week it's been eh people? Larry's been telling the Slashdot crowd about quantum god and big knobs, there's been a call for Perl 6 ...
    Piers CawleyPiers Cawley
    Sep 10, 2002 at 12:27 pm
    Sep 10, 2002 at 12:27 pm
  • This is an interesting tidbit from a longer posting by Oren Ben-Kiki, the YAML specification author. Thought I'd pass it on. ----- Forwarded message from Oren Ben-Kiki <orenbk@richfx.com ----- From: ...
    Brian IngersonBrian Ingerson
    Sep 6, 2002 at 9:44 am
    Sep 6, 2002 at 9:44 am
  • In doing the builtins, I just named the file "Builtins.p6m" without thinking. In retrospect, I think it would be nice to have a file extension *in addition to* ".pm" that is unambiguously Perl 6. ...
    Aaron ShermanAaron Sherman
    Sep 5, 2002 at 6:26 pm
    Sep 5, 2002 at 6:26 pm
  • This came up in a discussion on London.pm about Damian's Perl 6 talk, which led us to wonder about control exceptions and how they're handled. At the moment, control exceptions fall into the 'vaguely ...
    Piers CawleyPiers Cawley
    Sep 3, 2002 at 7:23 am
    Sep 3, 2002 at 7:23 am
  • The 'DEVELOPING' file accidentally made its way into the MANIFEST, but doesn't actually exist in the tarball. It's not a problem, as you can delete the appropriate line in the MANIFEST and continue, ...
    Sep 2, 2002 at 5:05 am
    Sep 2, 2002 at 5:05 am
  • Ooo I need your code, babe Guess you know it's true Hope you need this build babe Just like I need you -- Apologies to John Lennon (alternate codename: Octarine) News collected from Piers Cawley's ...
    Sep 2, 2002 at 4:29 am
    Sep 2, 2002 at 4:29 am
Group Navigation
period‹ prev | Sep 2002 | next ›
Group Overview
groupperl6-language @

67 users for September 2002

Aaron Sherman: 49 posts Damian Conway: 36 posts Luke Palmer: 26 posts Jonathan Scott Duff: 22 posts Dan Sugalski: 21 posts Trey Harris: 20 posts John Williams: 16 posts Piers Cawley: 16 posts Brent Dax: 15 posts Simon Cozens: 14 posts Mosullivan: 13 posts Smylers: 13 posts Ken Fox: 12 posts Erik Steven Harrison: 10 posts Larry Wall: 10 posts Aaron Sherman: 9 posts Sean O'Rourke: 9 posts Uri Guttman: 9 posts Me: 8 posts Nicholas Clark: 8 posts
show more