Apache-App-Mercury

 view release on metacpan or  search on metacpan

Mercury/Controller.pm  view on Meta::CPAN


Set or get the HTML page title.

=item * pagebody([$body])

Set or get the page body content.

=item * get_time()

Return the current unixtime, as returned by the Perl time() function.
This accessor is used for time synchronization throughout the application,
so your controller can keep a single time for each http request.

=item * sitemark([$mark])

Set or get a page-specific location mark, for logging purposes.

=back

=cut
sub get_time { return $_[0]->{time}; }



( run in 0.389 second using v1.01-cache-2.11-cpan-0d8aa00de5b )