FAQ

Search Discussions

14 discussions - 66 posts

  • In the below Perl 5 code, I refactored to pull the two halves of the PID file handling out of init_server(), but to do so, I had to return a sub from pid_file_handler() that acted as a ...
    Geoffrey BroadwellGeoffrey Broadwell
    Jan 1, 2009 at 8:34 pm
    Jan 27, 2009 at 1:03 am
  • Hello everyone, A few weeks ago, probably more than I want to admit (but here! See! My Notes! I've been up to something!), there was one of those, "OMG! Perl is going to DIE!" threads, somewhere and ...
    PerlPerl
    Jan 16, 2009 at 10:47 am
    Jan 23, 2009 at 1:37 am
  • Of course whenever I post to this list I make some sort of mistake, like including a test version that does not parse in perl6. Hopefully, I have eliminated all the mistakes. The following is a ...
    Richard HainsworthRichard Hainsworth
    Jan 12, 2009 at 9:24 am
    Jan 16, 2009 at 8:48 am
  • Could someone help me understand what is going on in the following snippet? my %players = {'william'= 2, 'peter'= 3,'john'= 1,'mary'= 5}; my @ranking = %players.sort: { .value }; for @ranking {.say}; ...
    Richard HainsworthRichard Hainsworth
    Jan 10, 2009 at 8:27 pm
    Jan 13, 2009 at 3:43 pm
  • I posted an email to per6-all asking about how one should go about reporting bugs. That message has appeared on the list. So again: how can bugs be reported? There was a suggestion by PM for people ...
    Richard HainsworthRichard Hainsworth
    Jan 4, 2009 at 2:21 pm
    Jan 5, 2009 at 6:15 pm
  • Supposed I define regex digit { [0..9] } what is the negative? By analogy, it should be <!digit but I cant find this in the Synopses (possibly missed the relevant section). if /<[0..9] / then the ...
    Richard HainsworthRichard Hainsworth
    Jan 6, 2009 at 1:41 pm
    Jan 12, 2009 at 3:17 am
  • Just wanted to say that this afternoon I used rakudo for a real world need. It was only a simple script to extract data from a text file. But it took all of 5 min from start to finish. Could have ...
    Richard HainsworthRichard Hainsworth
    Jan 20, 2009 at 3:58 pm
    Jan 20, 2009 at 6:08 pm
  • S12 defines enums and rakudo impliments them, so perl6 1 But suppose I want to get the "face value" of $x, viz., 'Sun'? How do I get it? say $x.key doesnt work.
    Richard HainsworthRichard Hainsworth
    Jan 14, 2009 at 11:26 am
    Jan 14, 2009 at 7:40 pm
  • Here's a solution to Scripting Games #2. Script and data file attached. The algorithm closely follows the published solution by the perl expert. Here is the model solution use 5.010; use strict; use ...
    Richard HainsworthRichard Hainsworth
    Jan 11, 2009 at 1:24 pm
    Jan 12, 2009 at 3:17 am
  • Suppose I want a 'when' clause to fire when the test is *not* met. What syntax should be used? So how would I do my $x = 'abced'; given $x { when ! /<digit / {say 'this does not contain a digit'} # ...
    Richard HainsworthRichard Hainsworth
    Jan 6, 2009 at 1:49 pm
    Jan 7, 2009 at 7:35 pm
  • Hi there! I use role to mix in some functionality for testing: my $s = November::Storage::File.new does Testing; And I have Role definition _after_ this: role Testing { ... } Now this is fall with: ...
    ИльяИлья
    Jan 17, 2009 at 3:24 pm
    Jan 18, 2009 at 3:19 pm
  • thanks for the response, but i was really looking for a bit more detail. To be precise - why the ':' after the sort? '%players.sort' calls the 'sort' method/sub on the hash '%players'. '{.value}' ...
    Richard HainsworthRichard Hainsworth
    Jan 11, 2009 at 8:50 am
    Jan 11, 2009 at 10:19 am
  • Here's a solution to the scripting competition test. Patrick suggested publishing solutions somewhere, including this list. #!/usr/local/bin/perl6 =pod Patrick Michaud suggested ...
    Richard HainsworthRichard Hainsworth
    Jan 8, 2009 at 3:04 pm
    Jan 9, 2009 at 8:07 am
  • Is there a rakudo package for cygwin? There's parrot and parrot-languages, but none of them seems to include anything that looks like "rakudo" or "perl6". Do i have to build it myself to try it? Or ...
    Amir E. AharoniAmir E. Aharoni
    Jan 20, 2009 at 8:46 pm
    Jan 20, 2009 at 8:46 pm
Group Navigation
period‹ prev | Jan 2009 | next ›
Group Overview
groupperl6-users @
categoriesperl
discussions14
posts66
users25
websiteperl6.org

25 users for January 2009

Richard Hainsworth: 16 posts Larry Wall: 8 posts Carl Mäsak: 5 posts Patrick R. Michaud: 5 posts Geoffrey Broadwell: 3 posts Moritz Lenz: 3 posts Aristotle Pagaltzis: 2 posts Brandon S. Allbery KF8NH: 2 posts Daniel Ruoso: 2 posts Guy Hulbert: 2 posts Perl: 2 posts Richard Dice: 2 posts Илья: 2 posts Ajr: 1 post Amir E. Aharoni: 1 post Chas. Owens: 1 post Dave Whipp: 1 post Gaal Yahas: 1 post Hal Wigoda: 1 post Howard chen: 1 post
show more
Archives