B
Bern
Hello list,
Is it possible to print to two different output at once?
For example, I tried the following but it does not work. Nothing shows
up in the log file.
open(LOG, ">test.log") or die "Can't create log file: $!";
print { LOG && STDOUT } `ls -l`;
Thanks,
Bern
Is it possible to print to two different output at once?
For example, I tried the following but it does not work. Nothing shows
up in the log file.
open(LOG, ">test.log") or die "Can't create log file: $!";
print { LOG && STDOUT } `ls -l`;
Thanks,
Bern