Perl 6 Maven http://perl6maven.com/ 2017-08-13T12:52:02Z Printing to Standard Error in Perl 6 When you run a program on the command line it automatically opens two channels for output. One is called Standard Output the other one is called Standard Error.

By default they are both connected to the terminal where you ran the program, but you can separate them and redirect them or hide them separately.

]]>

2017-08-13T12:52:02Z http://perl6maven.com/printing-to-standard-error szabgab
Continuous Integration for Perl 6 modules Travis-CI is a service that offers Continuous Integration on Linux to open source project hosted on GitHub free of charge.

Appveyor offers similar service on MS Windows.

]]>

2017-08-02T22:46:02Z http://perl6maven.com/continuous-integration-for-perl6-modules szabgab
LWP::Simple - a simple web client in Perl 6 There are a lot of cases when you'd want to have some code accessing a web site. It might be to automate some human interaction or it can be because you would like to talk to an API. Let's see a few simple examples in Perl 6.

httpbin.org is an excellent web site that allows us to try all kinds of web client code. We are going to use that in our examples.

]]>

2017-07-15T08:02:02Z http://perl6maven.com/simple-web-client szabgab
MongoDB with Perl 6 on Linux MongoDB is the leading Open Source document database. In this article we'll see how to use it in a Perl 6 script using the Rakudo Star distribution.

]]>

2017-07-08T16:32:02Z http://perl6maven.com/mongodb-with-perl6-on-linux szabgab
Parsing command line arguments in Perl 6 - ARGS - ARGV - MAIN When writing a program, one of the best ways to make it reusable is by accepting parameters on the command line.

For example if you are writing a program that needs to parse a log file, you might want to supply the name of the logfile on the command line.

If the application needs to send an e-mail report, it is more generic if the user can supply the address as a command line parameter: --to boss@company

How can you let your Perl 6 application accept command line arguments?

]]>

2017-07-04T10:52:03Z http://perl6maven.com/parsing-command-line-arguments-perl6 szabgab
Bailador Plans As the crowdfunding campaign for the Bailador book started to run, the work on Bailador, the Perl 6 web framework spiked.

New contributors arrived and some additional people have started to use it.

In the meantime I have started to think about Bailador itself and in what way can it be unique. In what way can it fit task better than any other framework.

]]>

2017-06-19T08:00:00Z http://perl6maven.com/bailador-plans szabgab
Arrays with unique values in Perl 6 How to get rid of duplicate values in an array in Perl 6?

Basically we show various ways how one can take a list of values and return a sublist of the same values after eliminating the duplicates.

]]>

2017-06-18T08:52:02Z http://perl6maven.com/arrays-with-unique-values szabgab
push vs. append on arrays in Perl 6 ]]> 2017-06-16T14:11:15Z http://perl6maven.com/push-vs-append-on-arrays-in-perl6 szabgab Upgrading the Docker container of Rakudo Star A few week ago we saw how to get started with Perl 6 in a Docker container. Since then a new version of Rakudo Star was release (version 2017.04) and I wanted to see how can I upgrade it.

In a nutshell: I need to start from scratch.

]]>

2017-06-15T11:32:02Z http://perl6maven.com/upgrading-docker-of-rakudo-star szabgab
Arrays in Perl 6 Arrays are one of the fundamental container types in Perl 6. They are usually stored in a variable starting with a @ sigil, though they can also be stored in variables starting with a $.

]]>

2017-06-09T10:02:02Z http://perl6maven.com/arrays-in-perl6 szabgab