Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
My script is function-oriented (not object-oriented), so I'm finding it a little tricky in getting the form to load the contents of the file. Lets say one field in the saved file is:use strict; if (defined($button) eq 'Restore') { open (IN,param('savefile')) || die "Can't open file to restore: $!"; restore_parameters("IN"); close(IN); }
and the field on the form is defined as:date=03-MAY-2002
How does one get the latter updated? Many thanks in advance, Stacy Mader.textfield('date','',30)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: recalling state with restore_parameters
by tachyon (Chancellor) on May 03, 2002 at 10:50 UTC | |
|
Re: recalling state with restore_parameters
by rinceWind (Monsignor) on May 03, 2002 at 10:10 UTC |