http://www.perlmonks.org?node_id=984002


in reply to Re: Variable scope headaches
in thread Variable scope headaches

Thanks jdporter

I actually had read that perlfaq item, obviously it didn't quite sink in :) Works now, and code looks better.

Thanks for pointing out the 'die' statement error too. I have removed that block of code now but clearly its one to watch out for.

nik