Search Discussions
-
Michael Lazzaro said: An exception or 5. Maybe undefining an element could always set it to the default value. No, because it's unnecessary. You can always do my $value = @a[$x] //= $x ** 2; or skip ...
Paul Johnson
Jan 28, 2003 at 7:47 pm
Feb 4, 2003 at 1:50 pm -
Hello, I just got a question from Lee Pumphret regarding Hook::Scope POST in loops. Currently it treats every iteration as a scope entry and scope exit so. for(1..3) { POST { print 2 }; print 1; } ...
Arthur Bergman
Jan 2, 2003 at 6:22 pm
Jan 8, 2003 at 11:06 am -
Can the type of a variable vary independenty of its value? Consider the following: my @a = (1,2,3); my $b := @a; @a and $b both refer to the same object. $b's object has methods such as PUSH, POP, ...
Dave Whipp
Jan 3, 2003 at 12:42 am
Jan 13, 2003 at 6:54 pm -
I think this may be another case of "it depends on what the word 'object' means", e.g. we're talking past each other. I hope. Let's operate from the assumption -- or somebody please CORRECT ME IF I'M ...
Michael Lazzaro
Jan 7, 2003 at 6:01 pm
Jan 18, 2003 at 6:32 am -
This may sound like a silly idea but ... Has anyone considered removing with the syntactic distinction between numeric and string indexing -- that is, between array and hash lookup? In particular, it ...
Martin
Jan 27, 2003 at 11:20 pm
Jan 29, 2003 at 8:15 pm -
Has there been any discussion of how to create code in Perl 6 that's there under some conditions, but not there under others? I'm thinking of the spiritual equivalent of #ifdef, only Perlish. In Perl ...
John Siracusa
Jan 10, 2003 at 12:55 am
Aug 20, 2005 at 2:07 am -
In my quest to eliminate as many explicit conditionals from my code as possible, I found myself wondering if Perl 6's multidispatch mechanism would allow one to write: sub gmttime ( $time = time() ) ...
Piers Cawley
Jan 24, 2003 at 7:30 am
Jan 24, 2003 at 9:51 pm -
Many people have pointed out the 'semicolon problem' with if and else--that is, if Perl intuits a semicolon after every codeblock that ends a blank line, you would have to cuddle all your elses: if ...
Brent Dax
Jan 20, 2003 at 7:05 pm
Jan 27, 2003 at 3:49 pm -
The Perl 6 Summary for the week ending 20021229 This is not your normal summary. It's been Christmas, things have been quiet, I've been concentrating on mince pies, roast goose and all that other ...
Piers Cawley
Jan 2, 2003 at 8:21 am
Jan 14, 2003 at 8:30 pm -
From: Damian Conway Hmm... If the Larry and the Perl Foundation would be agreeable. I'd just as soon see a grant set up for Larry again this year. And if so, I'd like to see the Perl Foundation ...
Garrett Goebel
Jan 17, 2003 at 10:45 pm
Jan 26, 2003 at 1:20 am -
I just finished skimming this write-up, located at http://paulgraham.com/arcll1.html I'm not a Lisp enthusiast, by and large, but I think he makes some interesting observations on language design. ...
Rich Morin
Jan 21, 2003 at 9:05 pm
Jan 25, 2003 at 9:38 am -
7
RE: arrays, hashes unified indexing syntax impact on future varia tion s on other collection types
Apologies in advance for beating this dead horse... Damian Conway wrote: Ok $0 is special. But isn't it _the_ special case? And strictly speaking, its an ordered associative array right? It doesn't ...Garrett Goebel
Jan 30, 2003 at 6:14 pm
Feb 2, 2003 at 9:33 pm -
This is just to let everybody know that I will be unsubscribing from p6-lang for the foreseeable future, effective immediately. I deeply regret that I simply no longer have the time to cope with the ...
Damian Conway
Jan 30, 2003 at 8:38 pm
Feb 3, 2003 at 7:49 pm -
6
Pike 7.4
Given discussions about "hyper" operators in the past, I found this rather interesting in the release notes. http://pike.idonex.com/download/notes/7.4.10.xml Automap To perform per-element operations ...Chris Dutton
Jan 1, 2003 at 4:34 am
Jan 9, 2003 at 3:52 pm -
What was the reason again which Larry rejected unifying the syntax for array and hash indexing? As Piers said, we know whether $a is an array or hash reference when we do: print $a- {foo}; Someone ...
Garrett Goebel
Jan 30, 2003 at 4:56 pm
Jan 30, 2003 at 7:47 pm -
Here's something that I'm still confused about. We have: print STDOUT : $a; as indirect object syntax. The colon means "STDOUT is the object we're operating on." It works everywhere. We also have for ...
Michael Lazzaro
Jan 23, 2003 at 6:10 pm
Jan 24, 2003 at 7:35 pm -
4
Perltalk
I still remember the first time I saw a computer program, before I had learned anything about programming myself. A friend showed me his first Fortran program, and it included the following line: N = ...Thom Boyer
Jan 21, 2003 at 6:09 pm
Jan 21, 2003 at 11:23 pm -
And what's to prevent that collection object from handling: my $queue = SomeQueue.new; $queue.push('foo'); $queue.push('bar'); $queue.push('baz'); my $index_of_foo = $queue['foo']; # undef if no foo ...
Garrett Goebel
Jan 30, 2003 at 6:20 pm
Jan 31, 2003 at 6:47 am -
From: Piers Cawley [...] Got it. Conflating indexed and named lookups (creating a syntactic homonym), isn't desirable or reasonably feasible. If we went down that route, it'd wind up being more ...
Garrett Goebel
Jan 31, 2003 at 5:42 pm
Feb 2, 2003 at 8:20 pm -
Corrected in accordance with design team member feedback. These should be solid, now. Thanks much for the responses. 1) Edge cases in array indexing: my @a = (1,2,3); @a[0] # 1 @a[1] # 2 @a[2] # 3 ...
Michael Lazzaro
Jan 28, 2003 at 9:07 pm
Jan 28, 2003 at 10:27 pm -
In the L2R thread, I made a comment where I contrasted a for loop with a junction. On reflection, I think we could go further. If we defined my $prev = 0; sub mangle($value) { $value + $prev; ...
Dave Whipp
Jan 17, 2003 at 8:31 pm
Jan 20, 2003 at 12:47 am -
oh , this is damn *PERFECT* ! a) easy reading b) 'type' and 'property' adjacent without hopping through list of varnames or complex property-constructs c) "variable/keys" adjacent to init value You ...
Murat Ünalan
Jan 5, 2003 at 12:05 pm
Jan 8, 2003 at 11:06 am -
The Perl 6 Summary for the week ending 20030119 Summary time again, damn but those tuits are hard to round up. Guess, what? perl6-internals comes first. 141 messages this week versus the language ...
P6summarizer
Jan 22, 2003 at 9:37 pm
Jan 27, 2003 at 5:34 pm -
Sure. But managing the funding budget isn't a business, where basic research will enable more income. It's the allocation of scarce resources. And from that viewpoint, Larry and P6 is an iceberg, ...
Austin Hastings
Jan 21, 2003 at 10:22 pm
Jan 21, 2003 at 11:28 pm -
Don't forget giving credit where credit is due. YetAnother has accomplished a good deal. I don't understand the current relative silence, but they did setup and administer The Perl Foundation (TPF). ...
Garrett Goebel
Jan 31, 2003 at 7:08 pm
Jan 31, 2003 at 7:08 pm -
A little blue-sky, here... need Seems to me this dual-aspectedness could be useful in representing the sort of tree nodes one would get from parsing XML. The hash aspect allows access to the ...
Gregor
Jan 30, 2003 at 8:10 pm
Jan 30, 2003 at 8:10 pm -
Thinking about this some more, and considering the desirability of lazy evaluation, I think incremental execution might be the right way. (Also, at the bottom is a weird version of switch/case that's ...
Austin Hastings
Jan 24, 2003 at 2:29 am
Jan 24, 2003 at 2:29 am -
This, I think, is where I beg and plead--given how much effort it takes for Larry to get new apocalypses out, I'd really rather not make it so we want him to revisit old decisions while an apocalypse ...
Dan Sugalski
Jan 23, 2003 at 11:41 pm
Jan 23, 2003 at 11:41 pm -
This is a valuable discussion, and I hope people will take this up on advocacy@perl.org as well. Thanks, John A see me fulminate at http://www.jzip.org/
John Adams
Jan 21, 2003 at 10:00 pm
Jan 21, 2003 at 10:00 pm -
IIRC, it's also being used in some browsers (elinks, at least) as a lightweight stand-in for javascript. Not that anyone actually uses it, of course. - --hobbs
Andrew Rodland
Jan 21, 2003 at 8:41 pm
Jan 21, 2003 at 8:41 pm -
Whoever is working for qlcomm.com tech support and subscribed from work should probably unsubscribe and use a personal account, unless your boss wants 20+ messages per day coming in to your corporate ...
Austin Hastings
Jan 16, 2003 at 7:54 pm
Jan 16, 2003 at 7:54 pm -
The Perl 6 Summary for the week ending 20030105 Hello and welcome to the first summary of 2003, welcome to the future. This summary covers 2 weeks, but they've been quietish what with Christmas and ...
P6summarizer
Jan 8, 2003 at 11:34 pm
Jan 8, 2003 at 11:34 pm -
I'm replying to your coffee-mug-throwing posting *very* late simply because I got so far behind on p6l that I had 1000 unread messages. Largely because of the "hellacious thread reworking operators." ...
Thom Boyer
Jan 8, 2003 at 8:43 pm
Jan 8, 2003 at 8:43 pm -
Do list objects automatically turn lazy if they are assigned another lazy list. Could I make a lazy list of the natural numbers like this:? @natural = 0..Inf; Or would that end up consuming ...
Luke Palmer
Jan 4, 2003 at 2:35 am
Jan 4, 2003 at 2:35 am
Group Overview
group | perl6-language |
categories | perl |
discussions | 34 |
posts | 635 |
users | 79 |
website | perl6.org |
79 users for January 2003
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)