Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Mason::Result(3)      User Contributed Perl Documentation     Mason::Result(3)

NAME
       Mason::Result - Result returned from Mason request

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

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

SEE ALSO
       Mason

AUTHOR
       Jonathan	Swartz <swartz@pobox.com>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2012 by Jonathan Swartz.

       This is free software; you can redistribute it and/or modify it under
       the same	terms as the Perl 5 programming	language system	itself.

perl v5.24.1			  2015-05-16		      Mason::Result(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Mason::Result&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help