The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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 ...
                            });