Hyper::Container - base class for all container classes.
This document describes Hyper::Container 0.01
package Hyper::Control::Container; use Class::Std::Storable; use base qw(Hyper::Control::Container); 1;
Provides methods to set and get named objects which are needed in your class (eg. some named embedded controls). This class is NOT only used in Hyper::Control::Conainer.
$object->set_object({ cNext => Hyper::Control::Base::BPushButton->new(), cReset => Hyper::Control::Base::BPushButton->new(), });
Store as many named objects as you like. ATTENTION: Only Class::Std::Storable objects are supported - other objects will crash on freeze (persistance).
$object->get_object('bNext');
Get named object.
version
Class::Std::Storable
$Author: ac0v $
$Id: Container.pm 317 2008-02-16 01:52:33Z ac0v $
$Revision: 317 $
$Date: 2008-02-16 02:52:33 +0100 (Sa, 16 Feb 2008) $
$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/tags/0.05/lib/Hyper/Container.pm $
Andreas Specht <ACID@cpan.org>
<ACID@cpan.org>
Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Hyper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hyper
CPAN shell
perl -MCPAN -e shell install Hyper
For more information on module installation, please visit the detailed CPAN module installation guide.