in reply to Re^2: Frontier::Client -> Debug to file
in thread Frontier::Client -> Debug to file

Are you restoring the old handles?

Capture::Tiny does that

  • Comment on Re^3: Frontier::Client -> Debug to file

Replies are listed 'Best First'.
Re^4: Frontier::Client -> Debug to file
by DreamT (Pilgrim) on Apr 28, 2015 at 12:03 UTC
    I've tried it also, but with no luck. Not with select though:
    open(CPOUT, ">&STDOUT"); open(STDOUT, ">>xyz.log") || die "OUTor stdOUT: $!"; # Print stuff close(STDOUT) || die "Can't close STDOUT: $!"; open(STDOUT, ">&CPOUT") || die "Can't restore stdOUT: $!";
    Unfortunately I don't have the possibility to install that module for the moment.

      ...Unfortunately I don't have the possibility to install that module for the moment.

      :) Maybe you can read the source ... I don't see anything obvious but you might have better luck