Venus::Scalar - Scalar Class
Scalar Class for Perl 5
package main; use Venus::Scalar; my $scalar = Venus::Scalar->new; # ${$scalar}
This package provides methods for manipulating scalar data.
This package inherits behaviors from:
Venus::Kind::Value
This package provides the following methods:
default() (Ref)
The default method returns the default value, i.e. \''.
\''
Since 0.01
0.01
# given: synopsis; my $default = $scalar->default; # \""
This package overloads the following operators:
(${})
This package overloads the ${} operator.
${}
example 1
package main; use Venus::Scalar; my $scalar = Venus::Scalar->new(\*STDOUT); my $value = $$scalar; # *::STDOUT
(*{})
This package overloads the *{} operator.
*{}
package main; use Venus::Scalar; my $scalar = Venus::Scalar->new(\*STDOUT); my $value = *$scalar; # *::STDOUT
Cpanery, cpanery@cpan.org
cpanery@cpan.org
Copyright (C) 2021, Cpanery
Read the "license" file.
To install Venus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Venus
CPAN shell
perl -MCPAN -e shell install Venus
For more information on module installation, please visit the detailed CPAN module installation guide.