NAME

Data::Object::Base::Scalar

ABSTRACT

Data-Object Abstract Scalar Class

SYNOPSIS

package My::Scalar;

use parent 'Data::Object::Base::Scalar';

my $scalar = My::Scalar->new(\*main);

DESCRIPTION

Data::Object::Base::Scalar provides routines for operating on Perl 5 scalar objects.

METHODS

This package implements the following methods.

new

new(ScalarRef $arg1) : Object

The new method expects a scalar reference and returns a new class instance.

new example
# given \*main

package My::Scalar;

use parent 'Data::Object::Base::Scalar';

my $scalar = My::Scalar->new(\*main);