Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I determine if my perl app needs to be changed to work with speedy? Or is there no modification necessary?

0
Posted

How can I determine if my perl app needs to be changed to work with speedy? Or is there no modification necessary?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.