Perl

From Sasara Wiki
Jump to navigation Jump to search

Perl (the Pretty Epic Reporting Language) remains Rubenerd's favourite scripting language. These are his notes.

Boiler plate

#!/usr/bin/env perl -w

use utf8;
use strict;
use warnings;

use open qw(:std :utf8);
no feature qw(indirect);
use feature qw(signatures unicode_strings);
no warnings qw(experimental::signatures);

use Data::Dumper;
use Readonly;
Readonly::Scalar my $the_answer => 42;
use Time::Piece;

sub main
{

}
exit(main);

Boiler plate: Moose

#TODO