in reply to Re^2: parameter passing problemin thread parameter passing problem
perldoc -f shift [download]