logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mason::Result - Result returned from Mason request

Author

       Jonathan Swartz <swartz@pobox.com>

Description

       An object of this class is returned from "$interp->run". It contains the page output and any values set
       in "$m->result". Plugins may add additional accessors.

Methods

       output
           The output of the entire page, unless out_method was defined in which case this will be empty.

       data
           A hashref of arbitrary data that can be set via

               $m->result->data->{'key'} = 'value';

Name

       Mason::Result - Result returned from Mason request

See Also

       Mason

Synopsis

           my $interp = Mason->new(...);
           my $output = $result->output;
           my $data   = $result->data;

See Also