What\'s the purpose of the following two lines of perl??
my $host = shift || \'localhost\'; my $port = shift || 200;
That should return loc
shift return the first element of an array and removes it from the array. Like pop, but from the other end.