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



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

Answer / 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

More CGI Perl Interview Questions

You want to add two arrays together. How would you do that?

0 Answers  


Explain 'grep' function.

0 Answers  


How many types of variable in perl?

0 Answers  


Which functions in Perl allows you to include a module file or a module and what is the difference between them?

0 Answers  


i have a folder called 'error' and in that, i have error log files which are generated by the build, now i want to findout the string 'error' from each log file and that error has to be copied into the another file called 'analysis'. how do you do this in perl?

5 Answers   HP,


Explain goto label, goto name, and goto expr?

0 Answers  


There are two types of eval statements i.e. Eval expr and eval block. Explain them.

0 Answers  


What is “grep” function in perl?

0 Answers  


How to concatenate strings in perl?

0 Answers  


what is the difference between java and cgi?

0 Answers  


Why aren't Perl's patterns regular expressions?

0 Answers  


What happens in dereferencing?

0 Answers  


Categories