Skip to content

tommystanton/haircut-pm6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Haircut - See how long it's been since your last haircut

SYNOPSIS

use Haircut;

my $haircut = Haircut.new(last-cut => '2015-07-01');

say $haircut.text-summary;

...will output something like:

Today is 2015-08-02.
Your last cut was on 2015-07-01.
It has been 32 day(s).

Perhaps your next cut should be on 2015-09-15?
(That would be 2 months and 2 weeks from the last cut; 76 day(s) later.)

DESCRIPTION

Run this module via its CLI program, like so:

$ perl6 bin/haircut --last-cut=2015-07-01

Try out the test suite, like so:

$ prove --exec perl6

PREREQUISITES

Perl 6 is supplied by Rakudo.

This software was developed with Rakudo v6.c, using the MoarVM backend.

The perl6 binary can be attained via rakudobrew, like so:

$ rakudobrew build moar v6.c

Running the tests relies on prove, which is supplied by Perl 5's App::Prove.

AUTHOR

Tommy Stanton <tommystanton@gmail.com>

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%