Thanks it Worked!
In reply to Re^4: Accessing values outside subroutine by Anonymous Monk in thread Accessing values outside subroutine by Anonymous Monk