The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Context::Set::Storage - A base class for context storages.

populate_context

Populates the context from the storage, setting all its stored properties in one go.

Usage:

 $this->populate_context($context);

set_context_property

Gets called at set_property time by the framework.

Dont forget to return the result of the given $after code ref if you want to propagate the change in the memory object (which is what you want I suppose).

usage:

   $this->set_context_property($context, $prop_name, $values,
                               sub{
                                  ... Something done after the storage is set ...
                               });