in reply to How to put links in a scroll box?
Web Browser window? Tk window? Windows Window? Stained Glass Window?
As a CGI script, it's fairly easy...
#!/usr/bin/perl -w use strict; use CGI; my %data = ( 'Aaron Anderson' => 'The webmaster, blah blah', 'Someone Else' => 'Don\'t know', 'Fred' => 'Flintstone!', ); my $cgi = new CGI; print $cgi->header; if($cgi->param('name')) { print $data{$cgi->param('name')}; } else { print <<"END"; <form method=post action="$ENV{SCRIPT_NAME}" target="_new"> Name: <input type=text name=name><br> <input type=submit> </form> END }
| We're not surrounded, we're in a target-rich environment! |
|---|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Stuck on an idea..
by sulfericacid (Deacon) on Dec 23, 2003 at 19:20 UTC |