<commit_before>---
layout: post
title: Trying out Rakudo Perl6 and help fix a bug
category: open_source, programming, perl
tags: perl, perl6, oss, irc, github
---

I've been wanting to try out [Perl 6](http://www.perl6.org) for a while now. Having tried it when Rakudo Star first 
came out, it has since come a long way. There are rumours that Perl 6 will officially come out this Christmas, if 
Larry Wall is to be believed.

After following the [linux installation instructions](http://rakudo.org/how-to-get-rakudo/) I managed to successfully 
install rakudo, moarvm and panda on my vps running Debian 6 (yeah, I need to upgrade).

However, after running `panda Task::Star`, the DBDish module would fail with the following error:

    ==> Building DBIish
    Compiling lib/DBDish.pm6 to mbc
    Compiling lib/DBIish.pm6 to mbc
    Compiling lib/DBDish/Pg.pm6 to mbc
    ===SORRY!=== Error while compiling lib/DBDish/Pg.pm6
    Operators '~~' and '..' are non-associative and require parentheses
    at lib/DBDish/Pg.pm6:148
    ------> ub status-is-ok($status) { $status ~~ 0.⏏.4 }
    build stage failed for DBIish: Failed building lib/DBDish/Pg.pm6

Huh. Odd. To irc.freenode.org\#perl6 we go.

    6:41:49 PM	jkva  RabidGravy: Gotcha :) I'm running Debian Squeeze, just finished installing rakudobrew, moarvm and panda. When running "panda install Task::Star" as per the directions, I eventually get:
    6:42:43 PM	jkva  the following build error - <pastie link><commit_msg>Fix module name typo<commit_after>---
layout: post
title: Trying out Rakudo Perl6 and help fix a bug
category: open_source, programming, perl
tags: perl, perl6, oss, irc, github
---

I've been wanting to try out [Perl 6](http://www.perl6.org) for a while now. Having tried it when Rakudo Star first 
came out, it has since come a long way. There are rumours that Perl 6 will officially come out this Christmas, if 
Larry Wall is to be believed.

After following the [linux installation instructions](http://rakudo.org/how-to-get-rakudo/) I managed to successfully 
install rakudo, moarvm and panda on my vps running Debian 6 (yeah, I need to upgrade).

However, after running `panda Task::Star`, the DBIish module would fail with the following error:

    ==> Building DBIish
    Compiling lib/DBDish.pm6 to mbc
    Compiling lib/DBIish.pm6 to mbc
    Compiling lib/DBDish/Pg.pm6 to mbc
    ===SORRY!=== Error while compiling lib/DBDish/Pg.pm6
    Operators '~~' and '..' are non-associative and require parentheses
    at lib/DBDish/Pg.pm6:148
    ------> ub status-is-ok($status) { $status ~~ 0.⏏.4 }
    build stage failed for DBIish: Failed building lib/DBDish/Pg.pm6

Huh. Odd. To irc.freenode.org\#perl6 we go.

    6:41:49 PM	jkva  RabidGravy: Gotcha :) I'm running Debian Squeeze, just finished installing rakudobrew, moarvm and panda. When running "panda install Task::Star" as per the directions, I eventually get:
    6:42:43 PM	jkva  the following build error - <pastie link>
{'fraction_non_alphanumeric': 0.09639366363329963, 'fraction_numerical': 0.01887428378833839, 'mean_word_length': 3.6666666666666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7550730', 'n_tokens_mistral': 1040, 'n_tokens_neox': 973, 'n_words': 388}