#!/usr/bin/perl package Child1Class; use ParantClass; our ($GetValue1,$GetValue2); sub new { my $self=ParantClass->new(); print "Now I am in Child Module\n\n"; print "Send a values to Parant Class from Child1 "; ($GetValue1,$GetValue2)=$self->UseParant(500,"Child"); print "Get Value from Parant Module ::: $GetValue1 ::: $GetValue2\n\n"; return $self; } sub UseChild1 { my ($value1,$value2)=ParantClass->UseParant(1000,"From Child"); print "Parant Class Values=$value1 ----- $value2 \n\n"; #my $self = shift; print "This Values go to perl program and display the Values ::::\n\n\n"; } return 1;