FAQ

Search Discussions

88 discussions - 635 posts

  • Why? Well, you can read what Dan wrote, 'cause I'm sure not going to pretend I'm enough of a threads programmer to have an educated opinion: ...
    Aaron ShermanAaron Sherman
    Apr 28, 2005 at 4:47 pm
    Apr 28, 2005 at 9:54 pm
  • As I continue porting code to Perl 6, I found something else that the synopsis don't seem to explain clearly. What I want to be able to do is compare two references to see if they point to the same ...
    Darren DuncanDarren Duncan
    Apr 1, 2005 at 7:46 am
    Apr 17, 2005 at 2:52 pm
  • I'm working on docs/S28draft.pod in the pugs project. And consulting perl5's perlvar.pod, the issue of "use English" comes up. AFAICT from various sources, little has been said about this NOTE: ...
    David VerginDavid Vergin
    Apr 11, 2005 at 4:44 pm
    Apr 15, 2005 at 3:59 pm
  • Ok, I have 2 questions. 1. I know there is the xx operator for repeating strings. I also know you can use XX for repeating either closures, blocks, or subs; though I'm not sure which. Assuming you ...
    MattMatt
    Apr 20, 2005 at 5:00 pm
    Apr 21, 2005 at 3:22 am
  • Hi, so we had junctions of Code references some days ago, what's with junctions of Class and Role objects? :) role A { method foo() { 42 } } role B { method foo() { 23 } } class Test does A|B {} my ...
    Ingo BlechschmidtIngo Blechschmidt
    Apr 28, 2005 at 1:31 pm
    May 4, 2005 at 10:36 am
  • Fortress is Sun's project at making a next-generation computer language. I like its technical report very, very much: http://research.sun.com/projects/plrg/fortress0618.pdf (via ...
    Autrijus TangAutrijus Tang
    Apr 27, 2005 at 7:32 am
    Apr 30, 2005 at 10:35 am
  • Among the various ways of declaring variables, will Perl 6 have a way to say, "this variable is highly temporary, and may be re-declared within the same scope, or in a nested scope without concern"? ...
    Aaron ShermanAaron Sherman
    Apr 15, 2005 at 3:45 pm
    Apr 18, 2005 at 12:55 am
  • In writing some character class translation, I realized that <-[a-z] and its ilk are rather hard to read because of the two hyphens that mean different things. We can't use <![a-z] because that's a ...
    Larry WallLarry Wall
    Apr 15, 2005 at 12:21 am
    Apr 17, 2005 at 5:35 pm
  • Hi, (I'm sorry if this topic has already been discussed.) one day a friend asked if Perl 5 had a REPL facility. (Read-Eval-Print-Loop). I told him it has perl -de0, which is different in that it does ...
    WolverianWolverian
    Apr 8, 2005 at 2:03 pm
    Apr 22, 2005 at 8:53 pm
  • All: Please forgive me, but I have only recently started following the language side of p6 after spending a fair amount of time with Parrot. Last night I installed Pugs and wrote my first p6 code: ...
    Joshua GatcombJoshua Gatcomb
    Apr 26, 2005 at 1:48 pm
    May 2, 2005 at 9:51 pm
  • Ok - sorry for the cheesy subject line but I couldn't resist. So I am working on porting some interesting pieces of code I wrote in p5 at the Monastery to p6 for the benefit of others - primarily to ...
    Joshua GatcombJoshua Gatcomb
    Apr 27, 2005 at 12:47 pm
    Apr 28, 2005 at 4:24 pm
  • Hi all, I'm writing a bunch of examples for perl 6 pleac and it seems rather natural to expect $string.chars to return a list of unicode chars in list context, however I can't find anything to ...
    GcomnzGcomnz
    Apr 11, 2005 at 6:04 pm
    Apr 12, 2005 at 11:27 am
  • Greetings. In implementing :=, I have discovered two different set of semantics in explantations. I will refer them as "linking" and "thunking". The "linking" semantic is akin to hard links in ...
    Autrijus TangAutrijus Tang
    Apr 23, 2005 at 10:50 am
    Apr 24, 2005 at 4:29 pm
  • I was doing some work on Parrot::Test today and was replacing this code with something more cross platform. # Run the command in a different directory my $command = 'some command'; $command = "cd ...
    Michael G SchwernMichael G Schwern
    Apr 15, 2005 at 10:12 am
    Apr 21, 2005 at 4:11 pm
  • In Pugs's t/pugsbugs/map_function_return_values.t, iblech added this test: %ret = map { $_ = uc $_ }, split "", $text; This fails because it is parsed, undef the {= } autocomposition rule, into: # ...
    Autrijus TangAutrijus Tang
    Apr 20, 2005 at 2:39 pm
    Apr 20, 2005 at 6:52 pm
  • Hello all, I have been going over the Synopsis, and I cannot find block labels mentioned anywhere. I was under the impression that if it is not mentioned, then it can be assumed to be the same as ...
    Stevan LittleStevan Little
    Apr 26, 2005 at 3:41 pm
    May 3, 2005 at 9:08 am
  • Hi, I remembered Damian saying that pick does not only work on junctions, but on arrays and hashes, too (and I even found his posting :): ...
    Ingo BlechschmidtIngo Blechschmidt
    Apr 4, 2005 at 6:37 pm
    Apr 28, 2005 at 12:55 pm
  • Hi, I'm just wondering, if the following would be possible with Perl 6 or not? $a=<elems <elem Content #1</elem <elem Content #2</elem </elems ; say $a.elems[0].elem[1].content; # "Content #1" for ...
    BÁRTHÁZI AndrásBÁRTHÁZI András
    Apr 20, 2005 at 3:08 pm
    Apr 21, 2005 at 8:09 am
  • Hi all, I'm back with more quoting construct madness. First, context of hash slices: Hash slices with {} notation are trivially either scalars or lists: $h{'foo'} = want(); # Scalar $h{'foo','bar'} = ...
    Roie MarianerRoie Marianer
    Apr 17, 2005 at 5:09 pm
    Apr 19, 2005 at 3:00 pm
  • Hi all. I'm trying to get quoting interpolation to work, which means I first have to understand it a little better. In Perl 5, as far as I can see, the delimiter of quoting constructs (whether it's ...
    Roie MarianerRoie Marianer
    Apr 16, 2005 at 3:27 pm
    Apr 18, 2005 at 11:08 pm
  • The following chunks behave the same in Perl 5.6 as in Perl 5.8. Notice the output of "branching" statement modifiers vs. "looping" statement modifiers. perl -e '$f=1; {local $f=2; print "$f"} print ...
    Paul SeamonsPaul Seamons
    Apr 15, 2005 at 5:51 pm
    Apr 15, 2005 at 9:14 pm
  • So, following up on the Parens handling, are these two equivalent? # Assuming &is has the parameter signature (Str, Str, Str) is((1,2), (3,4), "hey"); is([1,2], [3,4], "hey"); What happens if &is is ...
    Autrijus TangAutrijus Tang
    Apr 20, 2005 at 8:20 pm
    May 18, 2005 at 6:27 pm
  • Is any of this legal? class car { ... method make ($self: $make, *@models) returns(car) { return $self but role { has $.make = $make; method model($self: $model) returns(car) { unless $model eq ...
    Aaron ShermanAaron Sherman
    Apr 26, 2005 at 1:25 pm
    Apr 26, 2005 at 5:04 pm
  • I think I understand the implementation details leading to each behaviour, but rather than saying which was "right", I think I'd be quite happy to see Perl6 copy (the ideas behind) C's rules ...
    Paul JohnsonPaul Johnson
    Apr 21, 2005 at 9:45 am
    Apr 25, 2005 at 4:50 pm
  • Is there a <?ws -like thingy that is always \s+? Do \s and <?ws match non-breaking whitespace, U+00A0? How about: U+0008 backspace U+00A0 no break space (Repeated for overview) U+1361 ethiopic ...
    JuerdJuerd
    Apr 15, 2005 at 9:44 pm
    Apr 16, 2005 at 5:45 pm
  • As an exercise, I've been looking into what could be done in terms of creating a complex numbers package that takes advantage of perl 6 technology. A couple of thoughts that I ran across: When you ...
    Jonathan LangJonathan Lang
    Apr 27, 2005 at 3:48 am
    Apr 28, 2005 at 7:44 pm
  • Two things popped up while implementing a demo version of alarm() today. 1. In perl5 and in most underlying libraries, alarm() has 1 second granularity (and a possible 1 second error on top of that). ...
    Gaal YahasGaal Yahas
    Apr 18, 2005 at 8:05 pm
    Apr 21, 2005 at 10:23 pm
  • Hey folks, I wanted to delurk and address an issue that may need clarification in regards to hyper operators. Quoting S03: Now in this example case, it's pretty clear that the scalar 1 gets turned ...
    David ChristensenDavid Christensen
    Apr 13, 2005 at 3:58 am
    Apr 18, 2005 at 2:11 pm
  • To be clear: Only the store operation will return undef on failure. Additional fetches on $CWD will continue to return the cwd. $CWD = '/path/which/exists'; $CWD = '/i/do/not/exist' err warn $!; ...
    Michael G SchwernMichael G Schwern
    Apr 15, 2005 at 8:12 pm
    Apr 16, 2005 at 12:55 am
  • A while ago I posted a conflict between a block containing a pair constructor, vs. a hash constructor: map { $_ = $_ } @foo; Larry suggested that to keep it from being collapsed, we somehow augment ...
    Autrijus TangAutrijus Tang
    Apr 24, 2005 at 6:13 pm
    Apr 26, 2005 at 4:43 pm
  • Am I the only one who thinks <[a-z] is ugly and hard to type because of the nested brackets? The same goes for <{...} . The latter can't easily be fixed, I think, but the former perhaps can. If there ...
    JuerdJuerd
    Apr 15, 2005 at 12:58 pm
    Apr 16, 2005 at 8:09 pm
  • Hey all, not sure if I'm just missing some obvious source of information, but I used trim() as a function in a cookbook example, then realized that it's not even in S29... There is a brief mention of ...
    GcomnzGcomnz
    Apr 12, 2005 at 11:47 pm
    Apr 16, 2005 at 3:43 pm
  • We blitzed a discussion on #perl 3 minutes ago, reaching the conclusion that negated subscripts are cool. So i was thinking: subscripts are objects. They are sets, really. You can perform set ...
    Yuval KogmanYuval Kogman
    Apr 12, 2005 at 3:58 pm
    Apr 14, 2005 at 5:42 pm
  • For some reason, I keep typing :=: instead of =:=. Do other people experience similar typo-habits with new operators? One of my other Perl 6 typo-habits is <<^H^Hargh!^H^H^H^H^H«, but that's because ...
    JuerdJuerd
    Apr 4, 2005 at 6:31 pm
    Apr 6, 2005 at 12:49 pm
  • Another quick check on expression context for indexed expressions. Please sanity-check the return value of want() below: @x[0] = want(); # scalar context @x[want()] = $_; # scalar context @x[want()] ...
    Autrijus TangAutrijus Tang
    Apr 25, 2005 at 7:34 pm
    Apr 29, 2005 at 3:20 pm
  • Can we together compile a list of accepted abbreviations, so they can be consistently applied? I'll begin with the most basic ones: aref array reference bool boolean const constant elem element err ...
    JuerdJuerd
    Apr 22, 2005 at 11:46 am
    Apr 24, 2005 at 9:21 am
  • A spelling mistake and a word, that supposedly has been forgotten. Steven --- apo/A06.pod Sun Apr 17 14:34:16 2005 +++ apo/A06.pod Sun Apr 17 14:42:37 2005 @@ -2021,7 +2021,7 @@ All blocks are ...
    Steven Philip SchubigerSteven Philip Schubiger
    Apr 17, 2005 at 12:51 pm
    Apr 21, 2005 at 2:38 am
  • http://groups-beta.google.com/group/perl.perl6.language/browse_frm/thread/b29d689814d0a50e/bd6ed3ba5ee17ffb#bd6ed3ba5ee17ffb Following up on Tim Bunce's April 1st suggestion that we implement PLEAC ...
    OvidOvid
    Apr 10, 2005 at 3:00 am
    Apr 10, 2005 at 5:16 am
  • (Replying to p6l instead of p6c as requested.) -- wolverian
    WolverianWolverian
    Apr 5, 2005 at 6:36 am
    Apr 5, 2005 at 5:44 pm
  • Assuming the following are true: A: "if" is now a normal function B: "foo() + 3" is (foo) + 3, foo doesn't get 3. Then does that mean we're stuck with: C: "if($foo) { say 'foo' }" being a syntax ...
    JuerdJuerd
    Apr 25, 2005 at 7:05 pm
    May 3, 2005 at 12:55 pm
  • Hi, does the following work as expected? for %hash.pairs - $pair { # Note: No "is rw"! $pair.value = ...; # Modifies %hash } Or is it necessary to declare $pair as is rw? (The snippet does not modify ...
    Ingo BlechschmidtIngo Blechschmidt
    Apr 28, 2005 at 12:32 pm
    Apr 28, 2005 at 5:30 pm
  • I image we've all written logging code that looks something like this (Perl5 syntax): sub foo { my ($x,$y) = @_; note("Entering frobnitz(). params: '$x', '$y'"); ... } This, of course, throws an ...
    David StorrsDavid Storrs
    Apr 25, 2005 at 2:50 am
    Apr 27, 2005 at 9:39 pm
  • Hi, quoting an old post from Luke (http://xrl.us/ftet): So is the following valid? class TiedArray is Array { method push(*@things) { ...; } } my TiedArray @array; push @array: ...; # calls our push ...
    Ingo BlechschmidtIngo Blechschmidt
    Apr 19, 2005 at 2:11 pm
    Apr 25, 2005 at 4:38 pm
  • I'm looking in S09, and reading about junctions. It seems to me that if we have a junction $j which we use to index into an array or a hash, it should DWIM and return a junction of the corresponding ...
    David ChristensenDavid Christensen
    Apr 18, 2005 at 10:53 pm
    Apr 19, 2005 at 4:05 am
  • In Perl 5: my @a = (1,2,3); my @b = @a[0..3]; print scalar(@b); # 4 But in Perl 6: my @a = (1,2,3,4); my @b = @a[1...]; # elements from 1 onward say +@b; # should probably be 3, but with Perl 5 ...
    Luke PalmerLuke Palmer
    Apr 12, 2005 at 6:30 am
    Apr 12, 2005 at 7:03 pm
  • The first discussion of flattening had to do with a list of data being flattened into an array. Further down we see another different use of the word "flattening" : <quote ...
    Terrence BrannonTerrence Brannon
    Apr 4, 2005 at 6:45 pm
    Apr 5, 2005 at 6:59 am
  • S03 does not seem to detail a complete list of all Perl 6 operators. For example, it explicitly mentions += but does not mention -= Googling around, I found the Perl 6 Periodic Table of Operators ...
    Andrew SavigeAndrew Savige
    Apr 2, 2005 at 7:42 am
    Apr 3, 2005 at 3:49 pm
  • I think it would be great to be able to use a junction with use: use strict & warnings; A disjunction could mean any of the listed modules suffices. This comes in handy when you code something that ...
    JuerdJuerd
    Apr 25, 2005 at 6:33 pm
    May 3, 2005 at 2:55 pm
  • Greetings, In trying to hack closure trait support into pugs, I have some questions about closure traits, variable with "will" traits and introspection. (Apologies if some of this has been discussed ...
    David ChristensenDavid Christensen
    Apr 29, 2005 at 3:57 pm
    May 2, 2005 at 10:41 pm
  • Hi, Assuming this is allowed, what will the .() calls below return? Does the result depend on the calling context? use junctions; # still required? my @subs = ( sub { return 1 } , sub { return 2 } ); ...
    Brad BowmanBrad Bowman
    Apr 20, 2005 at 8:27 am
    Apr 25, 2005 at 3:48 pm
Group Navigation
period‹ prev | Apr 2005 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions88
posts635
users88
websiteperl6.org

88 users for April 2005

Larry Wall: 105 posts Juerd: 92 posts Aaron Sherman: 40 posts Luke Palmer: 39 posts Thomas Sandlaß: 33 posts Autrijus Tang: 27 posts Rod Adams: 17 posts Ingo Blechschmidt: 16 posts Patrick R. Michaud: 16 posts Gcomnz: 14 posts Matt Creenan: 12 posts Paul Seamons: 10 posts Brent 'Dax' Royal-Gordon: 9 posts Wolverian: 8 posts Brad Bowman: 7 posts Darren Duncan: 7 posts Mark Reed: 7 posts Sam Vilain: 7 posts Steven Schubiger: 7 posts Chip Salzenberg: 6 posts
show more
Archives