qw() doesn't interpolate, therefore $options{des} will be treated as a literal string.
Use the following if you really want each element as a list instead of a single string like if you used qq{}.
$cmd = [ qw(p4 submit -d), $options{des}, qw(-f submitunchanged -i) +];
In reply to Re: problem and error writing a command
by wind
in thread problem and error writing a command
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |