1

Which of these is a valid way to define a function in Perl?

Correct Answer: sub function_name{ }

Make the most of this question

This page focuses on one Perl MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Perl MCQs MCQ: Which of these is a valid way to define a function in Perl? | Extra Education