Mercurial > pub > Impl
annotate Lib/IMPL/Web/CGIApplication.pm @ 319:d485467eca92
small fixes
author | cin |
---|---|
date | Wed, 15 May 2013 02:00:42 +0400 |
parents | 546957c50a36 |
children | 63709a4e6da0 |
rev | line source |
---|---|
244 | 1 package IMPL::Web::CGIApplication; |
2 use strict; | |
3 | |
4 use IMPL::declare { | |
5 require => { | |
6 CGIWrapper => 'IMPL::Web::CGIWrapper' | |
7 }, | |
8 base => [ | |
9 'IMPL::Web::Application' => '@_' | |
10 ] | |
11 }; | |
12 | |
13 sub CTOR { | |
14 my ($this) = @_; | |
15 | |
16 $this->output(\*STDOUT) unless $this->output; | |
17 } | |
18 | |
285
546957c50a36
*IMPL::Web::Handler::TTView Reworked template selection mechanism
cin
parents:
244
diff
changeset
|
19 sub Run { |
244 | 20 my ($this) = @_; |
21 | |
22 my $query = CGIWrapper->new(); | |
23 | |
24 $query->charset($this->requestCharset) if $this->requestCharset; | |
25 | |
285
546957c50a36
*IMPL::Web::Handler::TTView Reworked template selection mechanism
cin
parents:
244
diff
changeset
|
26 $this->ProcessRequest($query); |
244 | 27 } |
28 | |
29 1; |