/[Frey]/trunk/lib/Strix/View.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/lib/Strix/View.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19 - (show annotations)
Sun Jun 29 12:55:39 2008 UTC (15 years, 9 months ago) by dpavlin
File size: 303 byte(s)
- create slim server caller in bin for Frey::Server
- restructure view packages
- beginning of rest dispatcher based on Template::Declare
1 package Strix::View;
2
3 use strict;
4 use warnings;
5
6 use Template::Declare::Tags; # defaults to 'HTML'
7 use base 'Template::Declare';
8 use Data::Dump qw/dump/;
9
10 template 'user' => sub {
11 my ( $self, $user ) = @_;
12 p {'Hello, world wide web!'}
13 pre {
14 { class is 'debug' };
15 outs( dump( $user ) );
16 }
17 };
18
19 1;

  ViewVC Help
Powered by ViewVC 1.1.26