FAQ

Search Discussions

38 discussions - 493 posts

  • SUMMARY A proposal for a set of loop structures that simplify code that is based on loop iterations. foreach my $var (@arr) { ... } before { ... } # run before first iteration, only if there is at ...
    Miko O'SullivanMiko O'Sullivan
    Apr 25, 2002 at 4:38 pm
    May 17, 2002 at 12:38 am
  • Whilst I've been hacking the perl 6 scheme interpreter I've found myself using code like the following method get_token( $self: ) { given $self.get_char { when !defined { fail IOException: msg= "EOF" ...
    Piers CawleyPiers Cawley
    Apr 7, 2002 at 5:36 am
    Apr 16, 2002 at 7:47 pm
  • Since A5 is the next thing up, it's probably worthwhile to try and get any changes we want to regexes before they get finalized. :) The (?something .. ) syntax which was used to extend the lifetime ...
    Mike LambertMike Lambert
    Apr 20, 2002 at 1:41 am
    May 21, 2002 at 5:29 am
  • Reading EX4 and seeing those "place-holder" variables made me wonder what happens when someone (probably Damian ;) wants to use more than 26 of them. Do the place-holder names scale up as if they're ...
    John SiracusaJohn Siracusa
    Apr 3, 2002 at 5:42 pm
    Apr 6, 2002 at 8:42 pm
  • I know this is going pretty far back in the design process, but I was wondering why we're using curlies for hash subscripts, now that the % sticks around when you key it. Then curlies could only two ...
    Luke PalmerLuke Palmer
    Apr 7, 2002 at 10:42 am
    Apr 10, 2002 at 9:25 am
  • The current plans indicate that a subroutine's params should be defaulted like this: sub load_data ($filename ; $version / /= 1) {...} (The space between / and / is on purpose, my emailer has ...
    Miko O'SullivanMiko O'Sullivan
    Apr 11, 2002 at 1:30 am
    Apr 19, 2002 at 10:04 pm
  • Larry, Please don't use 'but' to associate runtime properties to things. Please call it 'has'. First, but is just strange. I have a thing and I want to tell you it is red, so I say 'but'. Huh? Using ...
    Daniel S. WilkersonDaniel S. Wilkerson
    Apr 20, 2002 at 6:43 am
    Apr 26, 2002 at 6:17 pm
  • Over on use.perl, someone spotted what looks like a bug in the example program which (if it *is* a bug) is fixed by using unary '*', but that's not what I'm writing about here. In the discussion of ...
    Piers CawleyPiers Cawley
    Apr 3, 2002 at 8:29 am
    Apr 4, 2002 at 5:38 pm
  • Anyone know what the chances are that some enterprising C hacker can/will/did get the // and //= operator into Perl 5.8? Seems like it wouldn't be a huge deal to add, and I'd love to have it sooner ...
    David WheelerDavid Wheeler
    Apr 17, 2002 at 8:09 pm
    May 1, 2002 at 8:59 pm
  • I think I've missed something, even after poring over the archives for some hours looking for the answer. How does one write defaulting subroutines a la builtins like print() and chomp()? Assume the ...
    Trey HarrisTrey Harris
    Apr 12, 2002 at 6:44 am
    Apr 14, 2002 at 1:16 am
  • In this example: %hash = ($a= $b); $a can be anything. In fact, since Perl6 promises to retain the original value of $a, we're rather encouraged to store complex data there. But, this poses a ...
    Aaron ShermanAaron Sherman
    Apr 16, 2002 at 4:14 pm
    Apr 16, 2002 at 8:42 pm
  • In Exegesis 4, Damian writes: <blockquote It's important to note that writing: for @a; @b - $x; $y {...} # in parallel, iterate @a one-at-a-time as $x, and @b one-at-a-time as $y is not the same as ...
    David WheelerDavid Wheeler
    Apr 17, 2002 at 1:17 am
    Apr 17, 2002 at 8:36 pm
  • Okay, this is the beginnings of Scheme in Perl6. I'm sure there's stuff I'm getting wrong. I've not written the parser yet for instance and I'm toying with waiting for A5 before I do. Also, I've not ...
    Piers CawleyPiers Cawley
    Apr 10, 2002 at 8:23 am
    Apr 11, 2002 at 4:12 pm
  • <X-posting to perl6-language abigail@foad.org writes: No, it will be a syntax error. The first closing brace does not end the statement, probably something like "Block seen when keyword expected". It ...
    Piers CawleyPiers Cawley
    Apr 12, 2002 at 3:04 pm
    Apr 15, 2002 at 3:21 pm
  • So, here I am working on a Scheme interpreter in Perl 6, and I'm trying to write it in a (for want of a better description) 'Scheme-like' fashion with lots of recursion. The trouble is, unless Perl6 ...
    Piers CawleyPiers Cawley
    Apr 5, 2002 at 10:45 pm
    Apr 6, 2002 at 6:08 pm
  • Hi, I was wondering if anything ever became of the comments at http://archive.develooper.com/perl6-announce-rfc@perl.org/msg00318.html? I have an application that would benefit from double ...
    James RyleyJames Ryley
    Apr 4, 2002 at 11:00 am
    Apr 25, 2002 at 2:13 am
  • Reading Apoc and Exeg 4 I liked most everything. It has already been said many times how Perl6 is finally getting features the OO guys have been wanting forever, so I won't state the obvious again, ...
    Melvin SmithMelvin Smith
    Apr 4, 2002 at 6:47 pm
    Apr 7, 2002 at 12:43 am
  • Does one of these items not belong? From Exegesis 4: This new turbo-charged 'smart match' operator will also work on arrays, hashes and lists: if @array =~ $elem {...} # true if @array contains $elem ...
    Jadams01Jadams01
    Apr 5, 2002 at 10:26 pm
    Apr 8, 2002 at 7:19 am
  • Are there any plans to change the regex syntax for Perl 6? I ask because I've spent the last few days playing with PCRE, and I added a rather powerful extension to it as an experiment. Details at ...
    Robin HoustonRobin Houston
    Apr 1, 2002 at 10:13 pm
    Apr 2, 2002 at 5:08 pm
  • Also known as constructs you wish you hadn't discovered. So, I'm reading through Finkel and I came across the following, which computes the greatest common divisor of a and b (recast into perl6ish ...
    Piers CawleyPiers Cawley
    Apr 16, 2002 at 6:40 pm
    Apr 16, 2002 at 7:17 pm
  • Some while back, I asked the Perk5-porters whether there were any parts of Perl that could benefit from vector processors (e.g., the G4 Velocity Engine). The consensus of the respondents ranged from ...
    Rich MorinRich Morin
    Apr 12, 2002 at 7:40 pm
    Apr 16, 2002 at 2:32 am
  • SUMMARY A way to declare public names for params irrelevant to the internal variable names: sub load_data (-filename $filename_tainted ; 'version' 'ver' $version_input / /= 1) {...} DETAILS ...
    Miko O'SullivanMiko O'Sullivan
    Apr 13, 2002 at 2:25 am
    Apr 15, 2002 at 12:32 pm
  • I just read Exegesis 4, and I have a few questions about private variables. First, is it possible to have 2 private variables of the same name in different functions? For instance, what would happen ...
    Joe GottmanJoe Gottman
    Apr 6, 2002 at 2:52 am
    Apr 6, 2002 at 5:19 pm
  • Miko O'Sullivan writes: : "Wouldn't Know a Tagmemic if it Bit Him on the Parse" : : Ooh, can I steal that as a title? (Though I'll s/Tagmemic/Tagmeme/.) I : like it! :) : : You got it! : : I hope ...
    Larry WallLarry Wall
    Apr 16, 2002 at 4:37 pm
    Apr 16, 2002 at 10:05 pm
  • So, does the new =~ commute now, except for regexps; i.e. $a =~ $b is the same as $b =~ $a unless one or both are regexps? Additionally, can you chain statement modifiers? do_this() if $a unless $b; ...
    Luke PalmerLuke Palmer
    Apr 4, 2002 at 1:31 am
    Apr 4, 2002 at 7:05 pm
  • Hi I'm sure I'm missing something fairly fundamental, but could someone shed more light on the example: # reduce list three-at-a-time $sum_of_powers = reduce { $^partial_sum + $^x ** $^y } 0, ...
    Andrew WilsonAndrew Wilson
    Apr 3, 2002 at 7:16 pm
    Apr 3, 2002 at 11:43 pm
  • Just a thought, I assume that something like the following will be legal: given $msg { when Message::ACK { $msg_store.fetch( $msg.acknowledged_msg ).set_state($msg); } when Message::SMS { when ...
    Piers CawleyPiers Cawley
    Apr 3, 2002 at 9:37 am
    Apr 3, 2002 at 6:00 pm
  • Now that Clint has Eliza running on Parrot, I propose that from henceforth, Eliza shall field all newbie questions and take responsibility of the FAQ. Eliza should also field discussions concerning ...
    Melvin SmithMelvin Smith
    Apr 30, 2002 at 3:13 pm
    Apr 30, 2002 at 10:41 pm
  • Since Perl is changing from - to . (a change I welcome). It might be interesting to ask ourselves if there is any benefit from langauges like C++ or OCL that use both the - and the . From OCL's point ...
    Tanton GibbsTanton Gibbs
    Apr 8, 2002 at 5:40 am
    Apr 8, 2002 at 5:55 am
  • hi, I thought it will be good if on dev.perl6.org we have an arhive with all Apo's and Ex's, so anyone can get them in pack... (prefebaly printed version) Throught the links I got all except Apo1. ...
    RaptorRaptor
    Apr 4, 2002 at 1:59 pm
    Apr 4, 2002 at 2:55 pm
  • So, I've been looking at the stuff in the Apocalypses and Exegeses so far and I think I've reached the point where I can have a crack at using perl 6 to implement another programming language. Coming ...
    Piers CawleyPiers Cawley
    Apr 3, 2002 at 9:14 am
    Apr 3, 2002 at 9:32 am
  • from exegesis 4: In Perl 6, the current topic -- whatever its name and however you make it the topic -- is always aliased to $_. and one of the examples is: for @list - $next { # iterate @list, ...
    Uri GuttmanUri Guttman
    Apr 3, 2002 at 8:57 am
    Apr 3, 2002 at 9:04 am
  • [Several people said something like "$var is rw will do it") Ah, that's right. I had forgotten about this. Thanks to everyone who responded. Dave
    Dave StorrsDave Storrs
    Apr 17, 2002 at 8:44 pm
    Apr 17, 2002 at 8:44 pm
  • It was the dawning of the second age of parrotkind, ten weeks after the great GC war. The Parrot Project was a dream given form. Its goal: To prevent language wars by creating an interpreter where ...
    JeffJeff
    Apr 17, 2002 at 5:01 am
    Apr 17, 2002 at 5:01 am
  • That change isn't necessary. If you look you'll see that the anonymous class of which $nil is the only instance is a subclass of SchemeExpr, not SchemePair. Hmm... does that declaration syntax work? ...
    Piers CawleyPiers Cawley
    Apr 10, 2002 at 7:49 pm
    Apr 10, 2002 at 7:49 pm
  • if ($a = "\04") { my only question with doing away with '{' and '}' are dealing with issues of automagical stringification/number conversion with different types of the same name. would this be an ...
    Roman HuntRoman Hunt
    Apr 9, 2002 at 3:12 pm
    Apr 9, 2002 at 3:12 pm
  • Hi everyone! My name is Miko O'Sullivan, and I've been a devoted Perl Hacker for several years now. I'm looking forward to participating in the discussion of Perl 6. To give a little perspective on ...
    Miko O'SullivanMiko O'Sullivan
    Apr 4, 2002 at 4:07 pm
    Apr 4, 2002 at 4:07 pm
  • I don't know if this is the first example, and I'm not sure that this is even syntactically correct, but in the thread on slashdot about the release of Exegesis 4, there's a piece of perl 6 poetry. ...
    Nicholas ClarkNicholas Clark
    Apr 4, 2002 at 10:59 am
    Apr 4, 2002 at 10:59 am
Group Navigation
period‹ prev | Apr 2002 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions38
posts493
users67
websiteperl6.org

67 users for April 2002

Piers Cawley: 56 posts Larry Wall: 48 posts Damian Conway: 46 posts Aaron Sherman: 43 posts Luke Palmer: 36 posts Allison Randal: 27 posts Miko O'Sullivan: 20 posts Jonathan Scott Duff: 15 posts Dan Sugalski: 12 posts Me: 12 posts Melvin Smith: 12 posts David Wheeler: 11 posts Trey Harris: 11 posts Mark J. Reed: 9 posts John Siracusa: 8 posts Brent Dax: 7 posts Glenn Linderman: 7 posts Jonathan E. Paton: 7 posts Buddha Buck: 6 posts Mike Lambert: 6 posts
show more
Archives