Hello,
I'm a novice. I have a situation where I'm working on a perl program that calls a module, passing it a scalar containing the fully qualified filename for a log file, and a scalar containing the fully qualified filename for an error log. However, I would rather have the output go to the STDOUT and STDERR. When I attempt to simply set the scalar $logfile = STDERR; I get an error (Bareword "STDERR" not allowed while "strict subs" in use).
What is the correct way to do this?