Can inheritance be used in perl?



Can inheritance be used in perl?..

Answer / Jayant Srivastava

Yes, Perl supports inheritance through the use of a package variable called @ISA. This variable contains an array of class names that specify the parent classes of a derived class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

Which operator in perl is used for the concatenation of two strings?

1 Answers  


Explain cpan?

1 Answers  


Explain 'grep' function.

1 Answers  


Explain ivalue in perl?

1 Answers  


What is grep used for in perl?

1 Answers  


Explain the meaning of subroutine?

1 Answers  


How to implement a stack in Perl?

1 Answers  


What is the importance of perl warnings? How do you turn them on?

1 Answers  


How do find the length of an array?

0 Answers  


Explain what is STDIN, STDOUT and STDERR?

1 Answers  


How we can navigate the xml documents?

1 Answers  


What does read () command do?

1 Answers  


Categories