Jeffrey Ray Hallock > Gapp-0.484 > Gapp::Form::Stash

Download:
Gapp-0.484.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.484   Source   Latest Release: Gapp-0.60

NAME ^

Gapp::Form::Stash - Form stash object

SYNOPSIS ^

  $s = Gapp::Form::Stash->new;

  $s->store( 'object.attr', $value );

  $s->retrieve( 'object.attr' );

DESCRIPTION ^

The stash is registry that used to retrieve and update form data.

OBJECT HIERARCHY ^

Gapp::Form::Stash

PROVIDED ATTRIBUTES ^

modified
is rw
isa Bool
default 0

True if the data in the stash has been modified by the form.

PROVIDED METHODS ^

contains $key

Returns true if a $key exists in the registry, false otherwise.

delete $key

Removes a key from the stash.

elements

Returns a list of keys in the registry.

fetch $key

Retrieve the value of key from the registry.

store $key, $value

Stores a value to a key in the registry.

AUTHORS ^

Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>

COPYRIGHT & LICENSE ^

    Copyright (c) 2011-2012 Jeffrey Ray Hallock.

    This program is free software; you can redistribute it and/or
    modify it under the same terms as Perl itself.
syntax highlighting: