- 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; }
- or download this
use constant HAS_MODPERL => eval { require Apache; };
unless ( HAS_MODPERL ) {
require CGI;
}
- or download this
use vars qw($request %Args);
$request = HAS_MODPERL ? Apache->request : new CGI;
%Args = HAS_MODPERL ? $request->args : $request->Vars;
- or download this
&output(\$out, $request) and exit;
- or download this
sub output {
my $out = shift;
...
}
print $out;
}