Reaction::UI::Widget::Data - Abstract class to render a data hash reference
This takes the args method return value of the viewport and populates the arguments with names and values from that value.
args
Sets an argument for every key and value in the viewport's args method return value (which is expected to be a hash reference).
Assuming this hash reference:
{ first_name => "Foo", last_name => "Bar" }
we can access it in a layout set like this:
=widget Data =for layout widget Hello [% last_name | html %], [% first_name | html %]! =cut
See Reaction::Class for authors.
See Reaction::Class for the license.
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.