in reply to problem and error writing a command
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) +];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem and error writing a command
by Anonymous Monk on Mar 11, 2011 at 08:17 UTC | |
by wind (Priest) on Mar 11, 2011 at 08:30 UTC | |
by Anonymous Monk on Mar 11, 2011 at 08:39 UTC |