Search Discussions
-
A6 included examples of syntax for specifying the type of the key for a hash: my %pet is Hash(keytype = Str, returns = Cat) None of the synopses have anything like this. S6 talks about the types of ...
Abhijit Mahabal
Dec 3, 2004 at 10:24 pm
Dec 10, 2004 at 1:22 pm -
17
S05 question
I'm reviewing the updated S05 (2 Dec 2004) and ran across this in the "Hypothetical Variables" section: # Pairs of repeated captures can be bound to hashes: / %<options := [ (<ident ) = (\N+) ]* / ...Patrick R. Michaud
Dec 7, 2004 at 7:11 pm
Dec 10, 2004 at 5:56 pm -
Consider a class (e.g., the hypothetical Geometry::Triangle) that can have several attributes (side1, side2, side3, angle1, ang_bisector1, side_bisector, altitude1 and so forth), most of which will ...
Abhijit Mahabal
Dec 10, 2004 at 4:05 pm
Dec 16, 2004 at 8:18 pm -
hm.. consider that: perl5: open $fh, 'file'; $first_line = <$fh ; @remaining = <$fh ; perl6: $fh = open 'file'; $first_line = $fh(); @remaining = $fh(); I thought about parallels between arrays and ...
Alexey Trofimenko
Dec 4, 2004 at 5:04 pm
Dec 10, 2004 at 3:16 pm -
for 1..10_000_000 { my ($a,$b,$c) = ... ... } vs. for 1..10_000_000 { state ($a,$b,$c) = ... ... } latter looks like it would run faster, because no reallocation envolved here. I've read an advice ...
Alexey Trofimenko
Dec 4, 2004 at 3:31 am
Dec 10, 2004 at 2:52 pm -
From http://dirtsimple.org/2004/12/python-is-not-java.html "In Java, you have to use getters and setters because using public fields gives you no opportunity to go back and change your mind later to ...
John Siracusa
Dec 3, 2004 at 7:07 pm
Dec 4, 2004 at 12:41 am -
What happens to the flip flop operator? Will .. in scalar context remain the same? What comes in place of ...? (An adverb?) Juerd
Juerd
Dec 4, 2004 at 12:11 am
Dec 10, 2004 at 12:39 pm -
Howdy, While browsing the updated synopses, I noticed a problem with how scalar container methods are called. Currently, both value methods and container methods are shown in the synopses as being ...
Ashley Winters
Dec 4, 2004 at 12:01 pm
Dec 6, 2004 at 7:42 pm -
in perl5 C<use strict doesn't save us from typo bugs in code like use strict; print $OtherPackage::erroneuos_name; in perl5 C<our $var auotovivifies ${__PACKAGE__ . "::"}{var} glob at compile time, ...
Alexey Trofimenko
Dec 29, 2004 at 3:55 am
Jan 4, 2005 at 6:56 pm -
Perl 6 Summary for 2004-12-06 through 2004-12-20 All~ The observant among you might notice that I missed last week's summary. With the hubbub and confusion of the holidays, I blame ninjas, in ...
Matt Fowles
Dec 21, 2004 at 2:52 am
Dec 21, 2004 at 5:53 am -
Attributes are declared with C<has , but also have a unique signil C<$. . So is it strictly necessary to declare them? Or rather, is it C<no strict ly necessary -- i.e. is the following legal? no ...
Dave Whipp
Dec 10, 2004 at 5:25 pm
Dec 10, 2004 at 6:55 pm -
According to S12, it is possible to supply the object layout to bless(), like so: $object = $class.bless(:CREATE[:repr<P6opaque ] :k1($v1) :k2($v2)) But in the section "Introspection", "layout" is a ...
Abhijit Mahabal
Dec 7, 2004 at 5:33 pm
Dec 8, 2004 at 11:42 pm -
In S12, I see examples like: role Pet[Type $petfood = TableScraps] { method feed (::($petfood) $food) {...} } I assume that means lexicals declared as part of a parametric specialization declaration ...
Ashley Winters
Dec 7, 2004 at 11:40 pm
Dec 8, 2004 at 4:55 am -
Perl 6 Summary for 2004-11-29 through 2004-12-06 All~ Last week I asked for help identifying the source of a quotation. One friendly soul suggested Alan J. Perlis, but could not find an actual ...
Matt Fowles
Dec 7, 2004 at 2:36 am
Dec 8, 2004 at 3:11 am -
S2: my $foo = 42; say %MY::<$foo ; # prints "42" S6: Perl5ish subroutine declarations ... sub say { print qq{"@_"\n}; } # args appear in @_ Because C<print has no final newline, I would expect C<say ...
Stéphane Payrard
Dec 6, 2004 at 7:27 pm
Dec 6, 2004 at 7:45 pm -
my $var="foo"; { temp $var; say $var; } would it be undef or "foo"? if the former, how could I make $var to contain a copy of original content? using analogy with my $x = $x, that's not going to ...
Alexey Trofimenko
Dec 4, 2004 at 3:01 am
Dec 4, 2004 at 3:10 am -
How equivalent are << and «? Does use of one idiom imply the closing quote is the same. ie are the following allowed, prohibited or what? <<list of words» «list of words Just thinking... Richard -- ...
Richard Proctor
Dec 3, 2004 at 9:31 pm
Dec 3, 2004 at 10:23 pm -
[ From p6i ] Patrick R. Michaud writes: Well, IAAL. :-) In particular, xor is analogous, operatorwise, to the junctive one(). one() represents its single true value when it evaluates to true in ...
Luke Palmer
Dec 10, 2004 at 8:44 pm
Dec 10, 2004 at 8:44 pm
Group Overview
group | perl6-language |
categories | perl |
discussions | 19 |
posts | 249 |
users | 41 |
website | perl6.org |
41 users for December 2004
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)