Help for this page

Select Code to Download


  1. or download this
    package TestSite;
    use base 'CGI::Application';
    use warnings;
    ...
        return $template->output;
    }
    1;
    
  2. or download this
    <html>
        <head>
            <title>One</title>
    ...
            </form>
        </body>
    </html>
    
  3. or download this
    <html>
        <head>
            <title>Two</title>
    ...
            <p><a href='index.pl?rm=mode1'>Click to go back to one</a></p>
        </body>
    </html>
    
  4. or download this
    <html>
        <head>
            <title>One</title>
    ...
            </form>
        </body>
    </html>
    
  5. or download this
    #!/Perl/bin/perl
    
    use warnings;
    ...
    my $template = HTML::Template->new(filename => 'mode1a.html');
    
    print "Content-Type: text/html\n\n", $template->output;
    
  6. or download this
    #!/Perl/bin/perl
    
    use warnings;
    ...
    $template->param(test_post => $q->param('test_post'));
    
    print "Content-Type: text/html\n\n", $template->output;
    
  7. or download this
    <html>
        <head>
            <title>One</title>
    ...
            </form>
        </body>
    </html>
    
  8. or download this
    <html>
        <head>
            <title>Two</title>
    ...
            <p><a href='one.pl'>Click to go back to one</a></p>
        </body>
    </html>