Consider the following perl statement and predict, what would be the outcome of the following statement in file.pl?

open (filehandle,"<file1.txt") and die (" Cannot Open");

Error:file1.txt does not exist

Cannot Open at file.pl line number

file1 will be opened for writing

no output

Verified Answer
Correct Option - b

To get all Infosys Certified Full Stack System Administrator - RDBMS - Beginner Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in