in reply to Re: Is it possible to execute some command in qx argument
in thread Is it possible to execute some command in qx argument
Do you mean something like the code below? I tried that and it didn't work. Meaning it still produced one directory with the name "currentdate0 0 492mkdir otherdir1)"
my $cmd = "mkdir "; $arg = "$(mkdir otherdir1)"; qx($cmd "currentdate$arg");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Is it possible to execute some command in qx argument
by bart (Canon) on May 10, 2017 at 10:42 UTC |
In Section
Seekers of Perl Wisdom