Venus::True

True Class

True Class for Perl 5

method: new method: value

package main;

use Venus::True;

my $true = Venus::True->new;

# $true->value;

This package provides the global true value used in Venus::Boolean and the "true" in Venus function.

The new method constructs an instance of the package.

new() (Venus::True)

{ since => '4.15', }

The value method returns value representing the global true value.

value() (boolean)

{ since => '1.23', }

=example-1 value

# given: synopsis;

my $value = $true->value;

# 1

t/Venus.t: present: authors t/Venus.t: present: license

14 POD Errors

The following errors were encountered while parsing the POD:

Around line 14:

Unknown directive: =name

Around line 22:

Unknown directive: =tagline

Around line 30:

Unknown directive: =abstract

Around line 38:

Unknown directive: =includes

Around line 47:

Unknown directive: =synopsis

Around line 67:

Unknown directive: =description

Around line 76:

Unknown directive: =method

Around line 80:

Unknown directive: =signature

Around line 84:

Unknown directive: =metadata

Around line 102:

=cut found outside a pod block. Skipping to next block.

Around line 112:

Unknown directive: =method

Around line 116:

Unknown directive: =signature

Around line 120:

Unknown directive: =metadata

Around line 143:

Unknown directive: =partials