#!/usr/bin/perl -w use strict; use CGI; my $q = new CGI; print $q->header(); my $SCRIPT = 'http://192.168.254.21/cgi-bin/frames.pl'; my $action = $q->param('action') || 'default'; if ( $action eq 'kill_frames' ) { show_kill_frames() } elsif ( $action eq 'header' ) { show_header() } elsif ( $action eq 'main' ) { show_main() } elsif ( $action eq 'show_frames' ) { show_frames() } else { show_enter() } exit 0; ##### SUBS ##### sub show_enter { print qq!
Show Frames!; }
sub show_frames {
print <
Your browser doesn't support frames