|
|
| XP is just a number | |
| PerlMonks |
Error in Inheritance Classby editi (Novice) |
| on Mar 12, 2007 at 08:30 UTC ( [id://604297]=perlquestion: print w/replies, xml ) | Need Help?? |
|
editi has asked for the wisdom of the Perl Monks concerning the following question:
I have a program that using the two modules named as ParantClass and Child1Class. i am sending the values from
perl program to Child1Class module.ParantClass Module gets the value from Child1Class module and return back the output. But i couldnt get the answer The Error is root@local class# perl UseInheritClass.pl Now I am in Child Module Send a values to Parant Class from Child1 I Entered in to the Parant Class Method ::: UseParant :::500 and are Going to Chid Class So Take Care of Data Get Value from Parant Module ::: ::: Can't locate object method "useChild1" via package "ParantClass" at UseInheritClass.pl line 4. the following program i wrote for run this file File1 ::: ParantClass.pm
The Second Program id :::: Child1Class.pm
The Third Program is ::: UseInheritClass.pl help me to rectify this error. thank you
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||