in reply to perl cgi - refresh question
Or something like that...my $check=param('check'); my $value=param('value'); if (($value) && ($check)) { #update text file here or go to sub routine } else { #show report }
Update: The check variable would be included in the form submission, and the above code has been revised to reflect that. On discussion with zby this would not work if it is desirable to update the file via the URL - I have assumed it is not. If updates from the URL are required then zby's suggestion would allow this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl cgi - refresh question
by zby (Vicar) on Apr 15, 2003 at 12:25 UTC | |
by jonnyfolk (Vicar) on Apr 15, 2003 at 12:37 UTC | |
by zby (Vicar) on Apr 15, 2003 at 12:46 UTC | |
by jonnyfolk (Vicar) on Apr 15, 2003 at 13:06 UTC |