Mason::Result(3pm)

Mason::Result3pm

Result returned from mason request

Usage

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

Overview

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';

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9–10
  4. 11
  5. 12–13

Author

Jonathan Swartz <[email protected]>

From libmason-perl 2.24-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.