in reply to Re^2: Passing a variable to a sub process.
in thread Passing a variable to a sub process.

Since you never use $nossl within your routine, this is equivalent to
my $newsite = shift;
There is no significance in using the same name inside and outside the routine. This just says that you want to set $newsite using the first parameter passed to the subroutine.