in reply to setting values inside subroutine

BTW, i call the sub from my file like this, sample($t);