Life::Mathematics

Provide Mathematics of Life logic

NAME

Life::Mathematics - provide Mathematics of Life logic

SYNOPSIS

use Life::Mathematics;

say add-up("hardwork");   # 98%
say add-up("knowledge");  # 96%
say add-up("attitude");   # 100%

DESCRIPTION

The Life::Mathematics distribution provides a simple add-up subroutine that encapsulates the logic as described in: Mathematics of Life

CLI

It also provides a command-line interface called "life-words" that performs the same logic on each word given.

$ life-words hardwork knowledge attitude
hardwork   98%
knowledge  96%
attitude  100%

AUTHOR

Elizabeth Mattijsen [email protected]

Source can be located at: https://codeberg.org/lizmat/Life-Mathematics . Comments and Pull Requests are welcome.

If you like this module, or what I'm doing more generally, committing to a small sponsorship would mean a great deal to me!

COPYRIGHT AND LICENSE

Copyright 2026 Elizabeth Mattijsen

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

Life::Mathematics v0.0.2

Provide Mathematics of Life logic

Authors

  • Elizabeth Mattijsen

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Life::Mathematics

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.