Re: Values Not coming in the subroutine parameters correctly...

2007-04-01 Thread Jeff Pang
Hi, > >$returnValue=&StudentInfo::updateStudent($conn,%addNewStudentHash,$classsId,$schoolName); >... > Generally passing a hash to a subroutine is not good. You may try to pass a hash's reference to the subroutine,this get things more clear. Just do: &StudentInfo::updateS

Values Not coming in the subroutine parameters correctly...

2007-04-01 Thread Anish Kumar K
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