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

Diff of /trunk/lib/View.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7 by dpavlin, Sat Jun 28 11:49:35 2008 UTC revision 8 by dpavlin, Sat Jun 28 18:45:00 2008 UTC
# Line 9  use base 'Template::Declare'; Line 9  use base 'Template::Declare';
9  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
10    
11  use Strix::User;  use Strix::User;
12  my $user = Strix::User->new( nick => 'dpavlin' );  my $user = Strix::User->new( id => 1 );
13    
14  template user => sub {  template user => sub {
15          html {          html {
# Line 17  template user => sub { Line 17  template user => sub {
17                  body {                  body {
18                          p {'Hello, world wide web!'}                          p {'Hello, world wide web!'}
19                          pre {                          pre {
20                                  outs dump( $user );                                  outs( dump( $user ) );
21                          }                          }
22                  }                  }
23          }          }

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26