#something is omitted $line_number= $.; if ( $line_number == 5) { print "The $line_number is: ". #here i have to print the fifth line of the text file }