Mercurial > pub > Impl
view Lib/IMPL/Web/CGIApplication.pm @ 357:ec58c47edb52
web security: code cleanup, refactoring
| author | cin | 
|---|---|
| date | Fri, 18 Oct 2013 15:10:10 +0400 | 
| parents | 63709a4e6da0 | 
| children | 
line wrap: on
 line source
package IMPL::Web::CGIApplication; use strict; use IMPL::declare { require => { CGIWrapper => 'IMPL::Web::CGIWrapper' }, base => [ 'IMPL::Web::Application' => '@_' ] }; sub CTOR { my ($this) = @_; $this->output(\*STDOUT) unless $this->output; } sub Run { my ($this) = @_; my $query = CGIWrapper->new(); $query->charset('utf-8'); $this->ProcessRequest($query); } 1;
