NAME
Data::Object::Scalar::Base
ABSTRACT
Data-Object Abstract Scalar Class
SYNOPSIS
package My::Scalar;
use parent 'Data::Object::Scalar::Base';
my $scalar = My::Scalar->new(\*main);
DESCRIPTION
Data::Object::Scalar::Base provides routines for operating on Perl 5 scalar objects. This package inherits all behavior from Data::Object::Base.
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::Scalar::Base'; my $scalar = My::Scalar->new(\*main);
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
PROJECT
SEE ALSO
To get the most out of this distribution, consider reading the following: