in reply to duplicating STDERR to a logfile...

IO::Tee (alt.) perhaps?

    --k.