in reply to Test whether STDOUT is connected to a file

$ perl -e"system 1, []" $ 'ARRAY' is not recognized as an internal or external command, operable program or batch file.

Replies are listed 'Best First'.
Re^2: Test whether STDOUT is connected to a file
by rovf (Priest) on Aug 18, 2010 at 13:33 UTC
    Thanks - it was my typing mistake. I have corrected the code in my posting.

    -- 
    Ronald Fischer <ynnor@mm.st>
Re^2: Test whether STDOUT is connected to a file
by moritz (Cardinal) on Aug 18, 2010 at 13:05 UTC
    I think that's a windows-only feature. perlport might talk about it.
    Perl 6 - links to (nearly) everything that is Perl 6.
      I have windows, its not a windows feature, its made up syntax