In Perl, which of the following are file handles?
-
stdquit
-
stdend
-
stdin
-
stdout
-
C&D
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.