Multiple choice perl

In Perl, which of the following are file handles?

  1. stdquit

  2. stdend

  3. stdin

  4. stdout

  5. C&D

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Perl provides three standard file handles: STDIN (standard input), STDOUT (standard output), and STDERR (standard error). These are built-in file handles available in every Perl program for input/output operations. Both stdin and stdout are valid Perl file handles, making option E correct.