Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How do I get something to print after the "close(FH)"?open(FH, "> filename.txt") || die "Cant open file: $!\n"; select(FH); #rest of script here to print output to filename.txt close(FH); print "Nothing prints here after the close(FH)";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: No print after closing FH
by particle (Vicar) on Jul 01, 2003 at 17:49 UTC | |
|
Re: No print after closing FH
by Ovid (Cardinal) on Jul 01, 2003 at 17:52 UTC | |
by Anonymous Monk on Jul 01, 2003 at 18:10 UTC | |
|
Re: No print after closing FH
by BrowserUk (Patriarch) on Jul 01, 2003 at 17:51 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |