Which feature of Perl provides code reusability ? Give any example of that feature.

Answer Posted / zahir

inheritance feature of Perl provides code re usability. In inheritance, the child class can use the methods and property of parent class

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print escaping characters inside a string in perl?

698


you are required to replace a char in a string and store the number of replacements. How would you do that?

683


What are scalar data and scalar variables?

826


Explain regular expression in perl?

715


Explain goto label?

701


How can I implement the function overloading in Perl ? I read about the operator overloading, I do not know how to implement the function overloading. Thanks in advance ?

2671


Write syntax to add two arrays together in perl?

699


In Perl, what is grep function used for?

715


How to replace perl array elements?

703


What is the difference between use and require in perl programming?

683


How to find the length of an array in perl?

765


What does the q{ } operator do?

668


What are the advantages of perl programming?

746


How will you open a file in a write-only mode in perl?

697


How do you turn on the perl warnings?

677