begin :value = myFunction(1,2,3); end; #### $sth->bind_param_inout(":value",\$val,0,{ora_type=ORA_NUMBER}) $sth->execute; print $val;