DOKK / manpages / debian 12 / libsoftware-release-perl / Software::Release.3pm.en
Software::Release(3pm) User Contributed Perl Documentation Software::Release(3pm)

Software::Release - Object representing a release of software.

version 0.03

    use DateTime;
    use Software::Release;
    use Software::Release::Change;
    my $change = Software::Release::Change->new(
        author => 'gphat',
        change_id => 'abc1234',
        date => DateTime->now,
        description => 'Frozzled the wozjob'
    );
    my $rel = Software::Release->new(
        version => '0.1',
        name => 'Angry Anteater',
        date => DateTime->now,
    );
    $rel->add_to_changes($change);

Software::Release is a purely informational collection of objects that you can use to represent a release of software. Its original use-case was to provide a contract between a git log parser and a formatter class that outputs a changelog, but it may be useful to others to create bug trackers, dashboards or whathaveyou.

A list of Software::Release::Change objects for this release.

The date this software was released.

The name of this release.

The version of the release, as a string.

Add a change to this release's list of changes.

Returns true if this release's list of changes is empty.

Cory G Watson <gphat@cpan.org>

This software is copyright (c) 2011 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-06-17 perl v5.34.0