in reply to Re: problem and error writing a command
in thread problem and error writing a command

I figured out for the step 1,but for step2 I am having trouble figuring out...getting the below syntax error...Please advise
$cmd = [ qw(p4 tag -l ), TEST_$options{r}_$date, $options{v} ]; run3($cmd, \$stdin, \$stdout, \$stderr); print "\n$stderr\n";
syntax error at perl.pl line 197, near "$options{r" Execution of perl.pl aborted due to compilation errors.

Replies are listed 'Best First'.
Re^3: problem and error writing a command
by wind (Priest) on Mar 11, 2011 at 08:30 UTC
    $cmd = [ qw(p4 tag -l), "TEST_$options{r}_$dat", $options{v} ];

      One last question if you dont mind,how about the below command?

      $cmd = [ qw(p4 label -o -t ), "TEST TEST_$options{r}_$date", qw(| p4 +label -i) ];