ecuguru has asked for the wisdom of the Perl Monks concerning the following question:
I'm worried about server load. Does the above code actually load the file into memory?$file = "/Library/WebServer/Documents/log.txt"; open (DEST, ">>$file") || die &damn(); print DEST $time; print DEST ","; print DEST $StationId; print DEST "\n"; close DEST;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Add a line to the end of a file
by hardburn (Abbot) on Feb 17, 2004 at 22:24 UTC | |
by waswas-fng (Curate) on Feb 17, 2004 at 22:35 UTC | |
by DrHyde (Prior) on Feb 18, 2004 at 10:12 UTC | |
|
Re: Add a line to the end of a file
by Abigail-II (Bishop) on Feb 17, 2004 at 22:48 UTC | |
|
Re: Add a line to the end of a file
by davido (Cardinal) on Feb 18, 2004 at 06:59 UTC | |
|
Re: Add a line to the end of a file
by Skeeve (Parson) on Feb 17, 2004 at 22:18 UTC | |
by tachyon (Chancellor) on Feb 17, 2004 at 23:08 UTC | |
by Skeeve (Parson) on Feb 18, 2004 at 14:02 UTC | |
by hardburn (Abbot) on Feb 17, 2004 at 22:25 UTC |