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

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() (boolean)

The value method returns value representing the global true value.

Since 1.23

value example 1
  # given: synopsis;

  my $value = $true->value;

  # 1

AUTHORS

Awncorp, awncorp@cpan.org

LICENSE

Copyright (C) 2022, Awncorp, awncorp@cpan.org.

This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.