in reply to Problems Using Local

That code doesn't seem to make much sense. $stout is never assigned to, yet tested on several occasions. I doubt you want local anyway - use my.

Makeshifts last the longest.