Check input device is a terminal: Difference between revisions

(→‎{{header|Rust}}: Switched STDOUT to STDIN)
Line 170:
 
=={{header|Perl 6}}==
{{works with|Rakudo|2015.12}}
<lang perl6>say $*IN.t ?? "Input comes from tty." !! "Input doesn't come from tty.";</lang>
 
Anonymous user