kb2yht has asked for the wisdom of the Perl Monks concerning the following question:
do what I have to , and write a save out at the end usingopen SAVE,"</tmp/report.sav"; my $page=new CGI \*SAVE ; close(SAVE);
This will not work, and I dont know why. However each part will work, If I comment out the save step at the end, the read works, like wise if i useopen SAVE,">/tmp/report.sav"; $page->save(\*SAVE); close(SAVE);
the save function works, Plus , I dont get ANY errors.my $page= new CGI ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Open to and save from same file in CGI
by ColtsFoot (Chaplain) on Apr 14, 2001 at 11:16 UTC | |
|
Re: Open to and save from same file in CGI
by merlyn (Sage) on Apr 14, 2001 at 17:38 UTC | |
|
Re: Open to and save from same file in CGI
by sierrathedog04 (Hermit) on Apr 14, 2001 at 15:23 UTC | |
|
Re: Open to and save from same file in CGI
by Mission (Hermit) on Apr 14, 2001 at 15:32 UTC | |
|
Re: Open to and save from same file in CGI
by Chady (Priest) on Apr 14, 2001 at 11:20 UTC |