Bubblegum::Object::Instance - Generic Container Class for Passing Data
version 0.45
use Bubblegum::Object::Instance; my $self = Bubblegum::Object::Instance->new(data => {1..4}); $self->data; # {1=>2,3=>4}
Bubblegum::Object::Instance is a container class which merely provides a consistent interface for accessing and operating on various data structures. It is not necessary to use this module as it is loaded automatically by the Bubblegum class.
$self->data(...);
The data attribute holds some arbitrary value to be operated on.
Bubblegum::Object::Array, Bubblegum::Object::Code, Bubblegum::Object::Hash, Bubblegum::Object::Instance, Bubblegum::Object::Integer, Bubblegum::Object::Number, Bubblegum::Object::Scalar, Bubblegum::Object::String, Bubblegum::Object::Undef, Bubblegum::Object::Universal,
Al Newkirk <anewkirk@ana.io>
This software is copyright (c) 2013 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bubblegum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bubblegum
CPAN shell
perl -MCPAN -e shell install Bubblegum
For more information on module installation, please visit the detailed CPAN module installation guide.