Search Discussions
-
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 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 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 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 ...
Matt
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 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 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 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 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 ...
Wolverian
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 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 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 ...
Gcomnz
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 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 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 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 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 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á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 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 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 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 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 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 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 ...
Juerd
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 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 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 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 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 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 ...
Juerd
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 ...
Gcomnz
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 Kogman
Apr 12, 2005 at 3:58 pm
Apr 14, 2005 at 5:42 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 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 ...
Juerd
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 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 ...
Ovid
Apr 10, 2005 at 3:00 am
Apr 10, 2005 at 5:16 am -
(Replying to p6l instead of p6c as requested.) -- wolverian
Wolverian
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 ...
Juerd
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 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 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 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 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 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 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 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 ...
Juerd
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 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 Bowman
Apr 20, 2005 at 8:27 am
Apr 25, 2005 at 3:48 pm
Group Overview
group | perl6-language |
categories | perl |
discussions | 88 |
posts | 635 |
users | 88 |
website | perl6.org |
88 users for April 2005
Archives
- May 2016 (16)
- April 2016 (4)
- March 2016 (6)
- February 2016 (20)
- January 2016 (28)
- December 2015 (20)
- November 2015 (12)
- October 2015 (51)
- September 2015 (35)
- April 2015 (15)
- March 2015 (28)
- February 2015 (35)
- January 2015 (49)
- December 2014 (24)
- November 2014 (18)
- October 2014 (43)
- September 2014 (82)
- August 2014 (58)
- July 2014 (16)
- June 2014 (28)
- May 2014 (63)
- April 2014 (53)
- March 2014 (53)
- February 2014 (21)
- January 2014 (19)
- December 2013 (48)
- November 2013 (110)
- October 2013 (35)
- September 2013 (31)
- August 2013 (40)
- July 2013 (48)
- June 2013 (53)
- May 2013 (39)
- April 2013 (20)
- March 2013 (31)
- February 2013 (22)
- January 2013 (15)
- December 2012 (6)
- November 2012 (10)
- October 2012 (12)
- September 2012 (25)
- August 2012 (16)
- July 2012 (45)
- June 2012 (38)
- May 2012 (35)
- April 2012 (61)
- March 2012 (68)
- February 2012 (39)
- January 2012 (25)
- December 2011 (15)
- November 2011 (12)
- October 2011 (13)
- September 2011 (24)
- August 2011 (62)
- July 2011 (31)
- June 2011 (29)
- May 2011 (17)
- April 2011 (5)
- March 2011 (25)
- February 2011 (22)
- January 2011 (20)
- December 2010 (25)
- November 2010 (124)
- October 2010 (101)
- September 2010 (63)
- August 2010 (104)
- July 2010 (219)
- June 2010 (91)
- May 2010 (110)
- April 2010 (171)
- March 2010 (152)
- February 2010 (154)
- January 2010 (65)
- December 2009 (87)
- November 2009 (89)
- October 2009 (169)
- September 2009 (173)
- August 2009 (324)
- July 2009 (157)
- June 2009 (158)
- May 2009 (415)
- April 2009 (128)
- March 2009 (331)
- February 2009 (457)
- January 2009 (306)
- December 2008 (270)
- November 2008 (130)
- October 2008 (110)
- September 2008 (188)
- August 2008 (175)
- July 2008 (70)
- June 2008 (125)
- May 2008 (204)
- April 2008 (425)
- March 2008 (141)
- February 2008 (86)
- January 2008 (140)
- December 2007 (153)
- November 2007 (53)
- October 2007 (19)
- September 2007 (69)
- August 2007 (22)
- July 2007 (22)
- June 2007 (239)
- May 2007 (164)
- April 2007 (106)
- March 2007 (171)
- February 2007 (166)
- January 2007 (175)
- December 2006 (69)
- November 2006 (122)
- October 2006 (301)
- September 2006 (306)
- August 2006 (329)
- July 2006 (183)
- June 2006 (113)
- May 2006 (239)
- April 2006 (314)
- March 2006 (90)
- February 2006 (183)
- January 2006 (193)
- December 2005 (196)
- November 2005 (307)
- October 2005 (613)
- September 2005 (338)
- August 2005 (412)
- July 2005 (505)
- June 2005 (410)
- May 2005 (913)
- April 2005 (635)
- March 2005 (640)
- February 2005 (440)
- January 2005 (72)
- December 2004 (249)
- November 2004 (151)
- October 2004 (34)
- September 2004 (290)
- August 2004 (207)
- July 2004 (335)
- June 2004 (188)
- May 2004 (172)
- April 2004 (403)
- March 2004 (217)
- February 2004 (221)
- January 2004 (180)
- December 2003 (166)
- November 2003 (193)
- October 2003 (46)
- September 2003 (104)
- August 2003 (100)
- July 2003 (78)
- June 2003 (106)
- May 2003 (306)
- April 2003 (804)
- March 2003 (523)
- February 2003 (137)
- January 2003 (635)
- December 2002 (425)
- November 2002 (570)
- October 2002 (837)
- September 2002 (447)
- August 2002 (385)
- July 2002 (238)
- June 2002 (187)
- May 2002 (215)
- April 2002 (493)
- March 2002 (72)
- February 2002 (80)
- January 2002 (290)
- December 2001 (34)
- November 2001 (33)
- October 2001 (417)
- September 2001 (210)
- August 2001 (185)
- July 2001 (277)
- June 2001 (290)
- May 2001 (638)
- April 2001 (503)
- March 2001 (186)
- February 2001 (595)
- January 2001 (151)
- December 2000 (28)
- November 2000 (6)
- October 2000 (307)
- September 2000 (1,508)
- August 2000 (3,476)