my $file = '/Library/WebServer/Documents/log.txt'; open ( DEST, '>>', $file ) or die "Bleah!\n$!"; print DEST "$time, $StationId\n"; close DEST;
Dave
In reply to Re: Add a line to the end of a file
by davido
in thread Add a line to the end of a file
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |