Hi

The Parameter value passed from the main PL file to the subroutines are not passed correclly in the same order
say the class Id and schoolname are passed correctly as "70" and "ABC".

But in the subroutine when I print it is not correct. Some Junk value. I think this is something to do with the hierarchy.
I tried SHIFT and all in the subroutine..but no help.. Please advise.



The main PL file

$returnValue=&StudentInfo::updateStudent($conn,%addNewStudentHash,$classsId,$schoolName);
.......................


Function

sub updateStudent{
my ($conn,$addNewStudentHash,$classsId,$schoolName)[EMAIL PROTECTED];

print "$classsId and $schoolName";

return 1;
}

-Anish

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to