##
my @cmd_list;
push @cmd_list, qq(p4 sync -k "$options{v}");
push @cmd_list, qq(p4 -x "$options{f}" delete) if (exists $options{f});
# ... etc.
system $_ foreach @cmd_list;
####
system qq(p4 sync -k "$options{v}");
system qq(p4 -x "$options{f}" delete) if (exists $options{f});
# ... etc.