Al Newkirk > Bubblegum-0.19 > Bubblegum::Object::Instance

Download:
Bubblegum-0.19.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.19   Source   Latest Release: Bubblegum-0.31

NAME ^

Bubblegum::Object::Instance - Generic Container Class for Passing Data

VERSION ^

version 0.19

SYNOPSIS ^

    use Bubblegum::Object::Instance;

    my $self = Bubblegum::Object::Instance->new(data => {1..4});
    $self->data; # {1=>2,3=>4}

DESCRIPTION ^

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.

ATTRIBUTES ^

data

    $self->data(...);

The data attribute holds some arbitrary value to be operated on.

AUTHOR ^

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: