in reply to Keeping form information in CGI
On a seperate and, I think, somewhat odd note I noticed that whatever I do after I have the open ORGIDATA, ">orig" || die "Couldn't open! $!"; line doesn't happen (i.e. prints don't print etc.). I'm completely baffled as to why.
For example modifying the above code to this:
prints nothing.open ORGIDATA, ">orig" || die "Couldn't open! $!"; for (my $k = 0; $k < @classid; $k++) { if ($classid[$k] != $classid[$k-1]) { print $classid[$k], " ", @{$class[$k]}, " ", $location +[$k], " ", $credits[$k], "<br>\\ n"; } } close ORGIDATA;
Yes, Zaxo, I am using CGI.pm, I hadn't known about that feature of CGI.pm so I went to do some research to see how it worked. I found the save function and tried using that but it didn't work (functioned same as above). If I missed your point please correct me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help already received and request for more
by wardk (Deacon) on Jul 03, 2001 at 17:48 UTC | |
by deryni (Beadle) on Jul 04, 2001 at 00:42 UTC | |
by wardk (Deacon) on Jul 04, 2001 at 02:04 UTC | |
by deryni (Beadle) on Jul 04, 2001 at 12:43 UTC | |
by wardk (Deacon) on Jul 05, 2001 at 19:19 UTC |