How can I determine if my perl app needs to be changed to work with speedy? Or is there no modification necessary?
You may have to make modifications. Globals retain their values between runs, which can be good for keeping persistent database handles for example, or bad if your code assumes they’re undefined. Also, if you create global variables with “my”, you shouldn’t try to reference those variables from within a subroutine – you should pass them into the subroutine instead. Or better yet just declare global variables with “use vars” instead of “my” to avoid the problem altogether.
Related Questions
- How can I determine if my perl app needs to be changed to work with speedy? Or is there no modification necessary?
- My perl is not located at /usr/bin/perl, is there an easy way to change it everywhere it needs to be changed?
- Is it necessary to determine the heavy metals and mycotoxin in herbal products?