The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

BRIANG::Dist::Minimal - A minimal implementation.

VERSION

This is version 0.0101 released 2020-11-21

SYNOPSIS

    use BRIANG::Dist::Minimal;

    my $BDM = BRIANG::Dist::Minimal->new(7);
    say $BDM->value(); # 3.5

DESCRIPTION

This module is a component from the BRIANG::Dist::Perfect distribution.

This module uses an object-oriented approach to half numbers.

CONSTRUCTOR

new

    $object = BRIANG::Dist::Minimal->new($value)

Initialises a new BRIANG::Dist::Minimal object, and returns it. $value sets the number to be halved.

METHODS

value

    $halved_value = $BDM->value();

value() returns the halved value.

AUTHOR, COPYRIGHT AND LICENSE

Copyright 2020 Brian Greenfield <briang at cpan dot org>

This is free software. You can use, redistribute, and/or modify it under the terms laid out in the MIT licence.

CODE REPOSITORY AND ISSUE REPORTING

This project's source code is hosted on GitHub.com.

Issues should be reported using the project's GitHub issue tracker.

Contributions are welcome. Please use GitHub Pull Requests.