Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi Monks,
I'm tearing my hair out over a problem, and I'd appreciate any guidance or pointers. I worked very hard on an update to a script we use at work. My update involved using stored procedures instead of direct database (Sybase) queries. This way I could call the stored procedures and get back values identified as output params. The construct looks like this:
I got this working flawlessly in testing. But now I am running it in our 'shadow test' environment and am getting uninitialized value complaints for the bind_param statements for $thing_id and $action. Ultimately the script fails. These were just as unitialized in my tests, but those runs didn't complain and they ran to completion. To be fair, the input files to the program have changed some and have additional lines -- these new lines are skipped by default anyway, but I added a line of code to do it exolicitly. I did figure out that our shadow test environment was running a different version of Perl. I fixed this: both are running 5.22.2, which is what I ran in my tests and what we run in production. This didn't help. I confirmed that the same version of DBD::Sybase is being run in both places. Is there something that could cause this that I am failing to consider? I asked our dba whether it could be Sybase-related but he said no. Very tired. I could figure something out after I post this, but ... Thanks, Glenn In reply to ... something in the environment? by chexmix
|
|