NAME
Venus::Scalar - Scalar Class
ABSTRACT
Scalar Class for Perl 5
SYNOPSIS
package main;
use Venus::Scalar;
my $scalar = Venus::Scalar->new;
# ${$scalar}
DESCRIPTION
This package provides methods for manipulating scalar data.
INHERITS
This package inherits behaviors from:
METHODS
This package provides the following methods:
default
default() (Ref)
The default method returns the default value, i.e. \''
.
Since 0.01
OPERATORS
This package overloads the following operators:
- operation:
(${})
-
This package overloads the
${}
operator.example 1
package main; use Venus::Scalar; my $scalar = Venus::Scalar->new(\*STDOUT); my $value = $$scalar; # *::STDOUT
- operation:
(*{})
-
This package overloads the
*{}
operator.example 1
package main; use Venus::Scalar; my $scalar = Venus::Scalar->new(\*STDOUT); my $value = *$scalar; # *::STDOUT
AUTHORS
Cpanery, cpanery@cpan.org
LICENSE
Copyright (C) 2021, Cpanery
Read the "license" file.