FAQ

Search Discussions

30 discussions - 290 posts

  • No examples are given, but are we to assume that this: for ($x = 0; $x < 100; $x++) { ... } becomes this: loop $x=0; $x < 100; $x++ { ... } How would you use an $x lexically scoped to the loop block? ...
    Bryan C. WarnockBryan C. Warnock
    Jan 19, 2002 at 4:21 pm
    Jan 29, 2002 at 2:13 am
  • Beautiful. The synthesis of CATCH, BEGIN blocks, %MY, given, when, break, dwim =~, die, $!, $!.clean, and $!.stack is awe-inspiring. The way proto-exceptions, fail, and use fatal work together is ...
    Tony OlekshyTony Olekshy
    Jan 22, 2002 at 4:21 am
    Jan 25, 2002 at 2:30 am
  • Is this list of special blocks complete and correct? BEGIN Executes at the beginning of compilation CHECK Executes at the end of compilation INIT Executes at the beginning of run END Executes at the ...
    Brent DaxBrent Dax
    Jan 20, 2002 at 2:59 am
    Jan 21, 2002 at 10:04 pm
  • I'm trying to answer the question "what does ^ mean?". Can anything be hyperoperated, or just a built-in set of operations? If "anything", can user's subroutines be hyperoperated? How will they know ...
    Simon CozensSimon Cozens
    Jan 25, 2002 at 5:44 pm
    Jan 30, 2002 at 6:15 am
  • I was reading Apocalypse 4 and was perturbed by the strange and inconsistent looking use of UPPER and lower case in various keywords. Now before anyone rushes to assist me in understanding the logic, ...
    Andy WardleyAndy Wardley
    Jan 22, 2002 at 5:41 pm
    Jan 26, 2002 at 3:01 am
  • http://www.perl.com/pub/a/2002/01/15/apo4.html David Whipp wrote:
    Will ColedaWill Coleda
    Jan 18, 2002 at 5:33 pm
    Jan 19, 2002 at 7:49 pm
  • I'm going to just say this, and I ask that everyone who reads it take a deep breath, count to 10 and then respond if you wish. I was reading Apoc 4 and while marveling at the elegence of what Larry's ...
    Aaron ShermanAaron Sherman
    Jan 28, 2002 at 3:44 pm
    Jan 29, 2002 at 5:17 pm
  • A4 said that there were no barewords in Perl 6. Does this mean that $foo{bar} actually should be written %foo{"bar"} ? I'm vaguely hoping that the answer is yes, because then we could treat *all* ...
    Simon CozensSimon Cozens
    Jan 26, 2002 at 4:58 pm
    Jan 28, 2002 at 5:10 pm
  • It would be nice to retire C<map . And list-context C<for is an elegant and more-powerful solution. However, it doesn't generalize to cover C<grep well, or C<reduce , or C<fold , C<spindle , or ...
    Damian ConwayDamian Conway
    Jan 21, 2002 at 11:50 pm
    Jan 24, 2002 at 6:17 pm
  • Why all the fuss? Often, you would *want* to access that lexical after the loop terminates, for instance to check how it terminated. -----Original Message----- From: Michael G Schwern Sent: Monday, ...
    Tzadik VanderhoofTzadik Vanderhoof
    Jan 21, 2002 at 8:03 pm
    Jan 22, 2002 at 9:21 pm
  • <QUOTE Interestingly, this one tweak to the whitespace rule also means that we'll be able to simplify the parentheses out of other similar built-in constructs: if $foo { ... } elsif $bar { ... } else ...
    Bryan C. WarnockBryan C. Warnock
    Jan 19, 2002 at 4:05 pm
    Jan 21, 2002 at 10:07 pm
  • This is my new toy. It's not perfect. I know what's lacking and I know how to fix it, but time is always against us. You don't need any documentation, you're intelligent people. Feed some code to ...
    Simon CozensSimon Cozens
    Jan 27, 2002 at 11:55 pm
    Jan 30, 2002 at 5:37 pm
  • Should we be allowed to use to group numbers, now that is concat? If not _, then what? (if anything?) -- Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity.
    Simon CozensSimon Cozens
    Jan 25, 2002 at 5:31 pm
    Jan 26, 2002 at 1:49 pm
  • Okay boys and girls, what does this print: my @aaa = qw/1 2 3/; my @bbb = @aaa; try { print "$_\n"; } for @aaa; @bbb - my $a; my $b { print "$a:$b"; } I'm guessing one of: 1:1 2:2 3:3 or a syntax ...
    Piers CawleyPiers Cawley
    Jan 19, 2002 at 12:01 am
    Jan 21, 2002 at 8:52 am
  • Did u passed "Bermuda Triangle" :") raptor
    RaptorRaptor
    Jan 18, 2002 at 8:20 pm
    Jan 21, 2002 at 4:54 am
  • I would like to suggest a different keyword that does not imply some `jumping' action. For years, I have used `nobreak' in my C code when I want to indicate that a case fall-through is intentional: ...
    Dave HartnollDave Hartnoll
    Jan 28, 2002 at 10:57 am
    Jan 31, 2002 at 11:21 am
  • Hi. I've had a feature in mind for a while now, but I missed my chance to make it an RFC. I was told that I could still present it by using this list, so here goes. There is a (relatively) new ...
    Tzadik VanderhoofTzadik Vanderhoof
    Jan 2, 2002 at 5:42 pm
    Jan 21, 2002 at 7:23 pm
  • Hi all, I have just one syntatic wish for Apoc4 (which in all other points I find utterly fantastic). Could we have: foreach $item in @arr {...} Instead of foreach @arr - $item {...} I find the first ...
    Angel FausAngel Faus
    Jan 19, 2002 at 12:48 pm
    Jan 21, 2002 at 6:31 am
  • The two current examples of an evil expression block are do {} and eval {}, which require a semicolon terminator. However, with eval {} leaving, that leaves just do {}, which does (or should) fall ...
    Bryan C. WarnockBryan C. Warnock
    Jan 19, 2002 at 3:52 pm
    Jan 21, 2002 at 3:01 am
  • From: David Whipp It may very well be the case that a procedure's POST block could have side effects. However, if Larry and Damian are on the same frequency... then a _method_'s PRE/POST blocks will ...
    Garrett GoebelGarrett Goebel
    Jan 18, 2002 at 10:06 pm
    Jan 20, 2002 at 1:57 am
  • see attached file. ===== frank crowley
    Frank crowleyFrank crowley
    Jan 23, 2002 at 9:39 pm
    Jan 23, 2002 at 9:49 pm
  • Jarkko Hietaniemi writes: : What I notice, though, is that the current code does not warn for : characters beyond 0x10FFFF, which is definitely a bug. : : Ahh, it's all coming back now... warning ...
    Larry WallLarry Wall
    Jan 30, 2002 at 6:49 pm
    Jan 31, 2002 at 6:39 am
  • Just out of curiosity, what percentage of Perl users would you say fall into this category? And should follow-ups to this go, perhaps, to advocacy@perl.org? John A
    Jadams01Jadams01
    Jan 29, 2002 at 2:54 am
    Jan 29, 2002 at 3:30 am
  • "Non-yet-thrown exceptions must be a useful concept." This is a bullet point from a list in Apo4 introducing coverage of exception handling. Was Larry talking about an exception object that hasn't ...
    MeMe
    Jan 26, 2002 at 10:35 am
    Jan 27, 2002 at 1:02 am
  • Hello, I was reading stuff on the perl6 web site, and had some ideas about string interpolation rules. Is this a place to send this? String interpolation should be controlled by the programmer on a ...
    Dew-Jones, Malcolm MSER:EXDew-Jones, Malcolm MSER:EX
    Jan 26, 2002 at 1:07 am
    Jan 26, 2002 at 1:22 am
  • Does the alias operator, C<< - , work for C<if blocks too? if $a * $b / $c + $d - $abcd { ... } Where $abcd would be lexically scoped to the if block and else block, if defined. I expect it could be ...
    Chris DaleChris Dale
    Jan 24, 2002 at 12:16 am
    Jan 24, 2002 at 1:27 am
  • do { ... } seems simpler. '- ' seems more visually noisy than it need be in this case. Perhaps: given $value as $g { ... } for @foo as $f { ... } But, I can see how for 0 .. Inf; "a" .. "z" x 1000 as ...
    MeMe
    Jan 20, 2002 at 10:35 am
    Jan 21, 2002 at 4:54 am
  • Why the double semantics of 'when'? It implicitly breaks when used as a 'when' block, but does not as a 'when' statement. It seems that a when should be a when should be a when, and a when being a ...
    Bryan C. WarnockBryan C. Warnock
    Jan 19, 2002 at 4:37 pm
    Jan 21, 2002 at 2:11 am
  • [I'm an idiot. I forgot to send this to the group, too.] Aaron Sherman: # I'm going to just say this, and I ask that everyone who reads # it take a # deep breath, count to 10 and then respond if you ...
    Brent DaxBrent Dax
    Jan 28, 2002 at 4:18 pm
    Jan 28, 2002 at 4:18 pm
  • This just popped up from my sig file: Plus I remember being impressed with Ada because you could write an infinite loop without a faked up condition. The idea being that in Ada the typical infinite ...
    Michael G SchwernMichael G Schwern
    Jan 19, 2002 at 10:23 pm
    Jan 19, 2002 at 10:23 pm
Group Navigation
period‹ prev | Jan 2002 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions30
posts290
users59
websiteperl6.org

59 users for January 2002

Larry Wall: 46 posts Damian Conway: 22 posts Bryan C. Warnock: 17 posts Simon Cozens: 15 posts Me: 14 posts Melvin Smith: 14 posts Piers Cawley: 12 posts Michael G Schwern: 11 posts Garrett Goebel: 10 posts Glenn Linderman: 10 posts Brent Dax: 9 posts David Whipp: 9 posts Dan Sugalski: 7 posts Graham Barr: 7 posts Jonathan Scott Duff: 7 posts Casey West: 5 posts Aaron Sherman: 4 posts Angel Faus: 4 posts Jonathan E. Paton: 4 posts Rafael Garcia-Suarez: 4 posts
show more
Archives