Q. Method in Perl is?
β
Correct Answer: (D)
All of these
Explanation: Method/subroutine in Perl is a block of code (collection of statements) that performs a specific task in peril.
It can save programmer time and user code as one function can be called multiple times.