which one of the following choices demonstrates reading in scalar context?

Consider the following code:
open(INFILE, “myfile”);
Given this code, which one of the following choices demonstrates reading in scalar context?

Consider the following code:
open(INFILE, “myfile”);
Given this code, which one of the following choices demonstrates reading in scalar context?

A.
$file = <INFILE>;

B.
$file < <INFILE>;

C.
%file = <INFILE>;

D.
@file <= <INFILE>;



Leave a Reply 0

Your email address will not be published. Required fields are marked *