chomp; my @args = ("$user\@$ip:$source/$_", "staging/$_"); my $command = "scp"; system $command, @args;