Camelia

Perl 6 Maven

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.


LWP::Simple - a simple web client in Perl 6


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.


MongoDB with Perl 6 on Linux


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?


Parsing command line arguments in Perl 6 - ARGS - ARGV - MAIN


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.


Bailador Plans


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.


Arrays with unique values in Perl 6


Support my Perl 6 book!

I am writing a book on Web Application Development in Perl 6 and raising money via crowdfunding. Please support my effort!

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: