The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Venus::True - True Class

ABSTRACT

True Class for Perl 5

SYNOPSIS

  package main;

  use Venus::True;

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

  # $true->value;

DESCRIPTION

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

METHODS

This package provides the following methods:

value

  value() (Bool)

The value method returns value representing the global true value.

Since 1.23

value example 1
  # given: synopsis;

  my $value = $true->value;

  # 1