Mercurial > pub > Impl
view _test/test_cgi.pl @ 284:f2a6bc5f3184
+IMPL::Object::InlineFactory: implement object factory as subroutine
author | sergey |
---|---|
date | Thu, 14 Feb 2013 19:14:02 +0400 |
parents | 6d8092d8ce1b |
children | c27434cdd611 |
line wrap: on
line source
#!/usr/bin/perl use strict; use CGI qw(-nph); my $q = CGI->new({}); print $q->header({ type => 'text/html', X_My_header => 'some data' });