Perl 6 Maven http://perl6maven.com/ 2015-10-18T12:52:02Z Number guessing game in Perl 6 This is the Perl 6 solution to the exercise which is the beginning of a game called the Number Guessing game.

]]>

2015-10-18T12:52:02Z http://perl6maven.com/number-guessing-game szabgab
push vs. append on arrays in Perl 6 push treats the supplied parameters as individual entities and pushes them onto the original array without flattening them.

append (introduced new after 2015.09 release) will flatten the supplied array - if there was only one array supplied, but will reat them as individual entities if more than one arrays are supplied.

]]>

2015-10-11T10:11:15Z http://perl6maven.com/push-vs-append-on-arrays-in-perl6 szabgab
Installing Rakudo Perl 6 Unless you want to actually develop Rakudo itself, the recommendation is to install the Rakudo Star package. It contains the Rakudo compiler, documentation, and some extra modules. It can automatically build MoarVM, so you don't need to worry about that.

Windows users are even more spoiled, as the Rakudo development team provides ready-made binaries of Rakudo Star in msi format.

]]>

2015-10-11T07:01:03Z http://perl6maven.com/tutorial/perl6-installing-rakudo szabgab
Find Perl 6 modules without Travis CI Travis-CI is a service that offers Continuous Integration to open source project hosted on GitHub free of charge. It supports a number of languages, including several versions of Perl 5, and Perl 6.

There are plenty of Perl 6 modules hosted on GitHub. Some of them already use Travis-CI, others not yet. In this article we'll write a Perl 6 script that will find the repositories without a .travis.yml.

It would be helpful if all the other Perl 6 projects start using Travis-CI as well.

]]>

2015-10-10T10:46:02Z http://perl6maven.com/find-perl6-modules-without-travis-ci szabgab
Bailador Application in a module In the previous examples using Bailador we put all the code in a single app.pl file. At one point we moved the HTML template to the views/ subdirectory, but for larger applications and for reusable code, we'll want to be able to put code in separate files. That's what we are going to do now.

]]>

2015-08-01T20:00:00Z http://perl6maven.com/bailador-app-in-a-module szabgab
Echo text with Bailador using Template::Mojo After getting started with Bailador serving simple text, we saw how we can accept input from the user and echo it back, but we had the HTML snippets embedded in our Perl 6 code. That can work for really small applications, but if we would like to build a real web application we need to move the HTML out to externale template files.

Bailador user Template::Mojo as its default templating system.

]]>

2015-07-30T23:12:02Z http://perl6maven.com/echo-text-with-bailador-using-template-mojo szabgab
Web development using Perl 6 In preparation of my talk Web development using Perl 6 at YAPC::EU I set out to list the web applications that are currently using Perl 6. Here is what I know so far.

]]>

2015-07-20T06:52:02Z http://perl6maven.com/web-development-using-perl6 szabgab
Introduction to Perl 6: arrays In this screencast I provide a basic introduction to arrays in Perl 6.

]]>

2015-02-02T10:52:02Z http://perl6maven.com/introduction-to-perl6-screencast-arrays szabgab
How to connect to the #perl6 IRC channel and try Perl 6 on-line The Perl 6 developers hang out on the #perl6 channel on frenode.net. This screencast will show how to connect to the channel using a browser and how to get help on the channel.

]]>

2015-01-25T12:30:00Z http://perl6maven.com/how-to-use-perl6-without-installing-it szabgab
How to get the index of specific element of an array in Perl 6 ? Given an array like this:

my @levels = <TRACE DEBUG INFO WARNING ERROR FATAL>;

and give one of the names, e.g. 'DEBUG', how can we know which element is it?

]]>

2015-01-24T16:52:02Z http://perl6maven.com/how-to-get-index-of-element-in-array szabgab