++ed by:
SKOLYCHEV BEROV HAMMER FAYLAND ILUX

7 PAUSE users
4 non-PAUSE users.

Yuki Kimoto

NAME

SPVM::Bool - Bool Utility

SYNOPSYS

  my $bool_object_true = SPVM::Bool->new_true;
  my $bool_object_false = SPVM::Bool->new_false;
  
  my $bool_value = $bool_object_true->val;

CONSTRUCTOR

new_true

  sub new_true : SPVM::Bool ()

Create SPVM::Bool object with true value.

new_false

  sub new_false : SPVM::Bool ()

Create SPVM::Bool object with false value.

METHODS

val

  sub val : int ($self : self)

If Bool object has true value, return 1, else return 0.