in reply to (Ovid - CGI or command line?) Re(3): Prompting user input (newbie)
in thread Prompting user input (newbie)
So my question is two-fold: Can a CGI script accept user input other than from an HTML-based form? Secondly, how might I find out about command line program functionality? Laura#!/usr/bin/perl use CGI qw/:standard/; $q=new CGI; print $q->header; print "Enter something: "; my $response = <STDIN>; print "You just entered: $response";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:(Maclir) Re: (Ovid - CGI or command line?) Re(3): Prompting user input (newbie)
by Maclir (Curate) on Apr 27, 2001 at 02:55 UTC | |
by lauragarcia (Acolyte) on Apr 27, 2001 at 08:40 UTC |