in reply to Re^2: parameter passing problem
in thread parameter passing problem

Perl documentation is available online (shift) and at your command prompt:
perldoc -f shift