Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

bacek (8813)

bacek
  (email not shown publicly)
+ -

  Comment: Excellent! (Score 1) on 2010.07.11 22:25

by bacek on 2010.07.11 22:25 (#72159)
Attached to: Iterating your way to happiness with Perl 6
Great post! (Just small typo in "infix:X*gt;")
Read More 4 comments
Comments: 4
+ -

  Journal: Scripting Games, part 3 on 2008.12.24 2:31

Journal by bacek on 2008.12.24 2:31

+ -

  Journal: Scripting Games, part 2 on 2008.12.24 2:01

Journal by bacek on 2008.12.24 2:01
User Journal

Beginner's events are way too easy. Let's take a look at "advanced".

http://www.microsoft.com/technet/scriptcenter/funzone/games/games08/aevent1.ms px

        # First thing first: build letters-to-digits map
        my $pos = 2;
        my %l2d;
        map { %l2d{$^a} = $pos; %l2d{$^b} = $pos; %l2d{$^c} = $pos++ }, 'a'..'p', 'r'..'y';

Read More 0 comments

+ -

  Comment: Let scripting games begin. (Score 1) on 2008.12.24 1:17

by bacek on 2008.12.24 1:17 (#66603)
Attached to: Perl 6 Scripting Games
http://use.perl.org/~bacek/journal/38146 First solution for first problem
Read More 4 comments
Comments: 4
+ -

  Journal: First post. on 2008.12.24 1:11

Journal by bacek on 2008.12.24 1:11
User Journal

Hi.

In response to Pm's "Scripting games in Perl6" I've decided to implement some of them in Perl6.

Let's start with easiest "2008: Beginners Event 1"

Task is to calculate number of different pairs of cards.

Read More 2 comments
Comments: 2
+ -

  Comment: Yak. (Score 1) on 2008.12.12 4:38

by bacek on 2008.12.12 4:38 (#66430)
Attached to: I Have a Secret Too
Do we really need perl6? :)
Read More 3 comments
Comments: 3