in reply to Capturing output of commands to a file

Your OS doesn't understand Perl's file handles. $FILEOUT in double quotes stringifies to something like GLOB(0x2205cb8). Always check the exit status of system:
0 == system "ss GET $row[2]\/$row[1] -V$row[4] -GL$mydir > $mydir/sum +mary_log.txt 2>&1" or die "Can't run command: $?";
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Capturing output of commands to a file
by parthodas (Acolyte) on Nov 12, 2015 at 22:00 UTC
    The solution worked. Thanks a lot. Is there a way to display the message on screen too.