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

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) ];