in reply to File append not working. Any help?

why dont you create a back of file first and check it

$newname = "$CONSOLE_LOGFILE"."orig"; $cmd = "cp $CONSOLE_LOGFILE $newname"; system($cmd);

Replies are listed 'Best First'.
Re^2: File append not working. Any help?
by Anonymous Monk on Jun 09, 2015 at 10:18 UTC
    use Path::Tiny; path($lf)->copy($bak);