Subroutines and Ampersands

I’ve had this discussion several times recently, so I thought it was worth writing a blog post so that I have somewhere to point people the next time it comes up. Using ampersands on subroutine calls (&my_sub or &my_sub(…)) is never necessary and can have potentially surprising side-effects. It should, therefore, never be used and […]