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
    I meant a browser window!

    I just installed your snippet a few minutes ago and am confused as to what it is you think it's doing. Maybe I messed something up, but when I installed that it made a text field and a button. What is it expecting me to write in there? The page redirects exactly to itself, so when I add something in there it opens a new window with a blank form.

    I'm trying to post the names as links that open up displaying "The webmaster, blah blah" and such.

    Thanks!



    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid