FAQ

Search Discussions

87 discussions - 329 posts

  • I noticed in pugs, 'ref' does not return 'HASH' and 'ARRAY' as Perl5 does, but returns values including 'Hash', 'Array' and 'Array::Const'. I don't find meaningful mentions of 'HASH' and 'ARRAY' by ...
    Mark StosbergMark Stosberg
    Aug 23, 2006 at 10:22 pm
    Sep 4, 2006 at 4:33 pm
  • According to S05, the string method equivalent of the s/// operator is named "subst". (Just going by the spec here; the method doesn't exist yet in Pugs). I anticipate typos galore from the ...
    Mark J. ReedMark J. Reed
    Aug 31, 2006 at 1:45 pm
    Sep 11, 2006 at 6:14 pm
  • It occurred to me that other day that in our "in house" C code we somewhat frequently use an idiom that's not easily translated into Perl 5. Our rule is that if your commenting out more then 1 or 2 ...
    Joshua HoblittJoshua Hoblitt
    Aug 18, 2006 at 9:57 pm
    Aug 21, 2006 at 12:09 pm
  • <Yobert Hey do you know what would be cool in perl 6 <Yobert A special variable for when you do a for (@array) style loop <Yobert it would always have the index of the array Discussed on #perl6: it's ...
    Carl MäsakCarl Mäsak
    Aug 29, 2006 at 6:33 am
    Aug 30, 2006 at 9:28 am
  • To get my feet wet, I thought I'd translate my silly little cryptogram helper. It turned out like this: #!/usr/local/bin/pugs #====================================================================== # ...
    Mark J. ReedMark J. Reed
    Aug 23, 2006 at 10:40 pm
    Aug 25, 2006 at 1:59 pm
  • recently, perl 6 development has taken the form of a multi-method dispatch. that is, multiple implementations are under active development. this includes pugs (in haskell,) v6 (in perl5,) v6-Compiler ...
    Jerry gayJerry gay
    Aug 11, 2006 at 7:02 pm
    Aug 12, 2006 at 4:05 pm
  • Is a NEXT clause called before or after the update portion of a general loop statement? For instance, consider the following code: loop $n = 0; $n < 5; ++$n { NEXT {print $n;} } Is the output 01234 ...
    Joe GottmanJoe Gottman
    Aug 17, 2006 at 12:21 am
    Sep 7, 2006 at 1:59 pm
  • The CPAN has many reinvented wheels. This happened since we have so many authors (== opinions) over so many years. For example, we have Mail::Message to Email::Simple, to Mail::Internet to.... They ...
    Yuval KogmanYuval Kogman
    Aug 8, 2006 at 1:04 am
    Aug 8, 2006 at 1:00 pm
  • Hi, Audrey mentioned that Perl 6 is trying to avoid underscores in the core library. It came up when I asked why "valid" isn't called "value_id" because if ( $user_input.valid ) { } reads fairly ...
    Yuval KogmanYuval Kogman
    Aug 6, 2006 at 9:57 am
    Aug 16, 2006 at 1:46 pm
  • I asked this same question on perl6-users, but no one really seemed to have a definitive answer, so please forgive me for reasking. I was wondering how named arguments would work when parameters of ...
    Michael SnoymanMichael Snoyman
    Aug 25, 2006 at 3:37 pm
    Aug 27, 2006 at 3:01 pm
  • Suppose I have two arrays @k and @v and I want to declare and initialize a hash %h such that %h.keys eqv @k and %h.values eqv @v. I could use a direct translation of the P5 idiom: my %h; %h{@k} = @v; ...
    Mark J. ReedMark J. Reed
    Aug 23, 2006 at 9:44 pm
    Aug 23, 2006 at 10:39 pm
  • Sometimes I use 'given' blocks to set a value. To save repeating myself on the right hand side of the given block, I found I kept want to do this: my $foo = given { } ...and have whatever value that ...
    Mark StosbergMark Stosberg
    Aug 30, 2006 at 3:23 am
    Aug 31, 2006 at 8:33 am
  • #!/usr/bin/env pugs my $a = q:t /END/ test END; $a.perl.say; Above example works ok in pugs, But the problem is. From S02 Heredocs are no longer written with <<, but with an adverb on any other quote ...
    Yiyi HuYiyi Hu
    Aug 22, 2006 at 6:16 pm
    Aug 22, 2006 at 9:34 pm
  • Author: larry Date: Thu Aug 10 17:11:54 2006 New Revision: 10804 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S06.pod Log: First whack at defining semantics of MAIN subs. Typo from ...
    LarryLarry
    Aug 11, 2006 at 12:12 am
    Aug 11, 2006 at 3:19 pm
  • Is there any way to type annotate a single expression, without using a temporary variable? my Moose $x = $y; # definitely a Moose now, may have been coerced foo( $x );# foo() doesn't necessarily say ...
    Yuval KogmanYuval Kogman
    Aug 8, 2006 at 9:31 am
    Aug 8, 2006 at 1:42 pm
  • In S12, we see a number examples of: class Dog is Mammal http://dev.perl.org/perl6/doc/design/syn/S12.html However, it's not clear if it is necessary to preload Mammal for Dog to function properly ...
    Mark StosbergMark Stosberg
    Aug 22, 2006 at 3:29 am
    Aug 22, 2006 at 2:12 pm
  • S03, lines 418-420: "[cmp] always returns C<Order::Increase , C<Order::Same , or C<Order::Decrease (which numerify to -1, 0, or +1)." Shouldn't Order::Increase numerify to +1 and Order::Decrease to ...
    Reed, Mark \(TBS\)Reed, Mark \(TBS\)
    Aug 17, 2006 at 4:54 pm
    Aug 18, 2006 at 2:50 pm
  • Hi, there~ I've been reading S06 in the past few days. it almost killed me due to its difficulties. ;-) The patch to S06 (as well as S03) is given at the end of the mail. I've also included several ...
    Agent ZhangAgent Zhang
    Aug 7, 2006 at 8:39 am
    Aug 7, 2006 at 6:38 pm
  • Originally this posting was written in response to the 'ref' spec thread. I included char diagrams that got screwed up, so I made a png diagram instead (attached) and I re-edited the posting to refer ...
    Richard HainsworthRichard Hainsworth
    Aug 29, 2006 at 2:13 pm
    Sep 1, 2006 at 11:37 pm
  • All, This email is part of a brain dump from my thoughts over the last week while I was away from a computer. If anything doesn't make sense, I will clarify or expand it in the following days. I ...
    Darren DuncanDarren Duncan
    Aug 30, 2006 at 11:15 am
    Aug 31, 2006 at 5:10 am
  • ...which I would have thought was a faq; maybe I just haven't found the right faq list... Where can I find a pod2html that groks the p6 version of POD? I want to format my fresh-from-svn copies of ...
    Mark J. ReedMark J. Reed
    Aug 16, 2006 at 7:48 pm
    Aug 22, 2006 at 2:04 pm
  • Author: larry Date: Thu Aug 17 16:39:38 2006 New Revision: 11115 Modified: doc/trunk/design/syn/S06.pod Log: More old use of multiple invocant terminology changed to longnames. Added mechanism for ...
    LarryLarry
    Aug 17, 2006 at 11:39 pm
    Aug 18, 2006 at 5:26 pm
  • Regarding The S06 description of named arguments: http://feather.perl6.nl/syn/S06.html#Named_arguments What I find missing here is documentation of the signature to use if you want to declare "I ...
    Mark StosbergMark Stosberg
    Aug 30, 2006 at 12:32 am
    Aug 30, 2006 at 1:29 am
  • This may be a non-problem in practice, but ... Regarding the Str data type, which Perl 6 defines as holding a compact sequence of characters, I'm thinking that this type's current name is ambiguous ...
    Darren DuncanDarren Duncan
    Aug 9, 2006 at 12:26 am
    Aug 14, 2006 at 2:09 am
  • Author: larry Date: Wed Aug 9 18:34:02 2006 New Revision: 10758 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S03.pod doc/trunk/design/syn/S04.pod doc/trunk/design/syn/S06.pod ...
    LarryLarry
    Aug 10, 2006 at 1:34 am
    Aug 10, 2006 at 10:49 am
  • Since a FIRST block gets called at loop initialization time, it seems to me that it would be useful to have a block closure trait, RESUME, that gets called at the beginning of every loop iteration ...
    Joe GottmanJoe Gottman
    Aug 30, 2006 at 1:21 am
    Aug 30, 2006 at 6:49 am
  • Author: larry Date: Sun Aug 27 22:52:36 2006 New Revision: 11504 Modified: doc/trunk/design/syn/S02.pod Log: Clarification on syntactic mapping of <a b and <c to ('a','b') and ('c'). Modified: ...
    LarryLarry
    Aug 28, 2006 at 5:52 am
    Aug 28, 2006 at 10:54 am
  • What do these do? for 1,2 { my $code = { my $x; BEGIN { $x = 42 } $x; }; say $code(); } for 1,2 { my $code = { state $x; BEGIN { $x = 42 } # mind you, not FIRST $x++; }; say $code(); say $code(); } ...
    Luke PalmerLuke Palmer
    Aug 14, 2006 at 4:01 pm
    Aug 14, 2006 at 5:59 pm
  • Quick question for the group. Can there be more than one authority? module Foo-0.0.1-cpan:JRANDOM-http://www.foo.org-mailto:jrandom@foo.org S11 would seem to indicate no (it states that names are ...
    Stevan LittleStevan Little
    Aug 11, 2006 at 4:35 am
    Aug 11, 2006 at 6:37 am
  • That #perl6 discussion on character strings over the last hour then evolved into a discussion on binary strings, where the pseudo-conclusion started here: ...
    Darren DuncanDarren Duncan
    Aug 9, 2006 at 6:25 am
    Aug 9, 2006 at 10:19 pm
  • Author: larry Date: Mon Aug 7 12:38:13 2006 New Revision: 10678 Modified: doc/trunk/design/syn/S02.pod Log: Gah, would help if I actually thought about these things before committing... Modified: ...
    LarryLarry
    Aug 7, 2006 at 7:38 pm
    Aug 7, 2006 at 8:29 pm
  • Hi, there~ I think S04 says too little about statement modifiers. Please comment on the following code samples. Are they valid Perl 6? do { say } for 1..3; { say } for 1..3; - $i { say $i } for 1..3; ...
    Agent ZhangAgent Zhang
    Aug 30, 2006 at 5:37 am
    Sep 1, 2006 at 4:15 pm
  • I'm interested in helping to write some tests for "return types", but I'd like some clarifications about them first. Are they just "declarations" that help Perl optimize stuff, or they actually ...
    Mark StosbergMark Stosberg
    Aug 29, 2006 at 11:53 pm
    Aug 30, 2006 at 7:20 am
  • Perl6::Spec::Documentation is a draft spec for documentation formats for use with Perl6. My own reading of it is that POD still exists and is supported, while a new wiki-like format "kwid" is added, ...
    Mark StosbergMark Stosberg
    Aug 26, 2006 at 3:41 am
    Aug 26, 2006 at 11:24 am
  • Author: larry Date: Mon Aug 21 09:03:25 2006 New Revision: 11287 Modified: doc/trunk/design/syn/S05.pod doc/trunk/design/syn/S06.pod Log: Clarified that leading whitespace eats all subsequent ...
    LarryLarry
    Aug 21, 2006 at 4:03 pm
    Aug 21, 2006 at 4:31 pm
  • Author: larry Date: Mon Aug 7 13:12:33 2006 New Revision: 10679 Modified: doc/trunk/design/syn/S03.pod doc/trunk/design/syn/S05.pod doc/trunk/design/syn/S06.pod Log: Editing from agentzh++ and ...
    LarryLarry
    Aug 7, 2006 at 8:12 pm
    Aug 8, 2006 at 12:27 am
  • Author: larry Date: Mon Aug 7 13:37:03 2006 New Revision: 10680 Modified: doc/trunk/design/syn/S02.pod Log: Interesting fossil discovered by Mark.Reed++. Modified: doc/trunk/design/syn/S02.pod ...
    LarryLarry
    Aug 7, 2006 at 8:37 pm
    Aug 7, 2006 at 8:46 pm
  • I'm new to the mailing lists. I've just started reading all the Apocalypse and Exegeses with the goal of becoming involved in some manner. One question I have is whether there will be a change to ...
    Arthur Ramos Jr.Arthur Ramos Jr.
    Aug 2, 2006 at 2:48 pm
    Aug 3, 2006 at 11:33 am
  • Author: larry Date: Wed Aug 2 09:00:38 2006 New Revision: 10539 Modified: doc/trunk/design/syn/S05.pod Log: Tweaks to allow <foo+bar . Modified: doc/trunk/design/syn/S05.pod ...
    LarryLarry
    Aug 2, 2006 at 4:00 pm
    Aug 2, 2006 at 4:08 pm
  • Hi, all~~ S05 makes widely use of the syntax @{ $capture } and %{ $capture } while other synopses remarkably don't. According to S02, {...} should normall be a closure or a hash subscript and S02 ...
    Agent ZhangAgent Zhang
    Aug 1, 2006 at 3:17 pm
    Aug 1, 2006 at 4:01 pm
  • Since nobody else has answered yet, I'll try to say something. I'll post this also to perl6-language so that those who know better can comment on this. http://dev.perl.org/perl6/doc/synopsis.html S12 ...
    Markus LaireMarkus Laire
    Aug 30, 2006 at 9:35 am
    Aug 30, 2006 at 9:35 am
  • As an aside, though, doesn't that particular solution now implicitly rely on the fact that ('index' lt 'value')? I get the feeling that if people want to give meaningful names to their $^ parameters, ...
    Stuart CookStuart Cook
    Aug 30, 2006 at 12:25 am
    Aug 30, 2006 at 12:25 am
  • Author: audreyt Date: Mon Aug 28 07:34:29 2006 New Revision: 11527 Modified: doc/trunk/design/syn/S02.pod Log: * S02: minor grammar and syntax nit from p6l feedbacks. Modified: ...
    AudreytAudreyt
    Aug 28, 2006 at 2:34 pm
    Aug 28, 2006 at 2:34 pm
  • Author: audreyt Date: Mon Aug 28 00:11:57 2006 New Revision: 11509 Modified: doc/trunk/design/syn/S02.pod Log: * grammar nit, and clarify that it is the assign-to-scalar that Arrayify a list. ...
    AudreytAudreyt
    Aug 28, 2006 at 7:12 am
    Aug 28, 2006 at 7:12 am
  • Author: larry Date: Fri Aug 25 12:28:00 2006 New Revision: 11421 Modified: doc/trunk/design/syn/S06.pod Log: Discussed relationship of "is" syntax to adverb syntax and type syntax. Nailed down some ...
    LarryLarry
    Aug 25, 2006 at 7:28 pm
    Aug 25, 2006 at 7:28 pm
  • Author: pmichaud Date: Tue Aug 22 11:00:04 2006 New Revision: 11316 Modified: doc/trunk/design/syn/S05.pod Log: Change "If the first character after the angle is whitespace" to "If the first ...
    PmichaudPmichaud
    Aug 22, 2006 at 6:00 pm
    Aug 22, 2006 at 6:00 pm
  • Hi, there~ When you see the title, you may wonder what that means. Here is the answer: http://feather.perl6.nl/~agentzh/syn/S04.html Search for links named like "Show the snippet from ..." and click ...
    Agent ZhangAgent Zhang
    Aug 22, 2006 at 1:56 pm
    Aug 22, 2006 at 1:56 pm
  • Author: larry Date: Mon Aug 21 09:39:51 2006 New Revision: 11290 Modified: doc/trunk/design/syn/S05.pod Log: Typo from Aaron Crane++ Modified: doc/trunk/design/syn/S05.pod ...
    LarryLarry
    Aug 21, 2006 at 4:40 pm
    Aug 21, 2006 at 4:40 pm
  • Author: larry Date: Fri Aug 18 17:57:09 2006 New Revision: 11155 Modified: doc/trunk/design/syn/S09.pod Log: List comprehensions via junctional syntax. Modified: doc/trunk/design/syn/S09.pod ...
    LarryLarry
    Aug 19, 2006 at 12:57 am
    Aug 19, 2006 at 12:57 am
  • Author: larry Date: Fri Aug 18 16:27:16 2006 New Revision: 11154 Modified: doc/trunk/design/syn/S06.pod Log: Allow for switch bundling. Modified: doc/trunk/design/syn/S06.pod ...
    LarryLarry
    Aug 18, 2006 at 11:27 pm
    Aug 18, 2006 at 11:27 pm
Group Navigation
period‹ prev | Aug 2006 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions87
posts329
users55
websiteperl6.org

55 users for August 2006

Larry: 34 posts Larry Wall: 31 posts Mark J. Reed: 23 posts Luke Palmer: 22 posts Agent Zhang: 17 posts Darren Duncan: 16 posts Yuval Kogman: 14 posts David Green: 12 posts Trey Harris: 12 posts Dr.Ruud: 10 posts Juerd: 9 posts Mark Stosberg: 9 posts Markus Laire: 9 posts Audreyt: 8 posts Daniel Hulme: 7 posts Audrey Tang: 6 posts Jonathan Scott Duff: 6 posts Reed, Mark \(TBS\): 6 posts Carl Mäsak: 5 posts Damian Conway: 5 posts
show more
Archives