in reply to Double quote problem
and then execute the script passing the new contatenated single argument to the script.my $arg1 = "204.120.69.195"; my $arg2 = "-"; my $arg3 = "-"; my $arg4 = "GET"; my $single_arg = $arg1 . $arg2 . $arg3 . $arg4; ### $single_arg now equals "204.120.69.195--GET"; my $rc = system("your_perl_script.pl", $single_arg);
HTH.
|
|---|