Help for this page

Select Code to Download


  1. or download this
    /* i don't browse full screen to have a small textarea :) */
    textarea { width: 100%; height: 300px; }
    ...
    
    /* I like a little feedback now and then */
    a:hover { color: blue; }
    
  2. or download this
    use constant HAS_MODPERL    => eval { require Apache;  };
    unless ( HAS_MODPERL ) {
       require CGI;
    }
    
  3. or download this
    use vars qw($request %Args);
    $request = HAS_MODPERL ? Apache->request : new CGI;
    %Args    = HAS_MODPERL ? $request->args : $request->Vars;
    
  4. or download this
    &output(\$out, $request) and exit;
    
  5. or download this
    sub output {
       my $out = shift;
    ...
       }
       print $out;
    }