/[Frey]/trunk/lib/Frey/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

Annotation of /trunk/lib/Frey/View.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Sat Jun 28 11:49:35 2008 UTC (15 years, 9 months ago) by dpavlin
Original Path: trunk/lib/View.pm
File size: 351 byte(s)
initial code dump of my web-framework-tingy:

Continuity + Fey::ORM + Template::Declare
1 dpavlin 2 package View;
2    
3     use strict;
4     use warnings;
5    
6     use Template::Declare::Tags; # defaults to 'HTML'
7     use base 'Template::Declare';
8    
9     use Data::Dump qw/dump/;
10    
11     use Strix::User;
12     my $user = Strix::User->new( nick => 'dpavlin' );
13    
14     template user => sub {
15     html {
16     head {}
17     body {
18     p {'Hello, world wide web!'}
19     pre {
20     outs dump( $user );
21     }
22     }
23     }
24     };
25    
26     1;

  ViewVC Help
Powered by ViewVC 1.1.26