No such thing as a small change | |
PerlMonks |
Re: passing a variable value to Unix commandby ikegami (Patriarch) |
on Oct 20, 2010 at 00:15 UTC ( [id://866204]=note: print w/replies, xml ) | Need Help?? |
I had a hard time generating that error.
There's no way the command you're executing could generate that error with my find. Maybe if $k contained a newline and you hadn't used quotes. Anyway, if you want to avoid unintentional interpolation, use IPC::System::Simple's capturex.
By the way, "\*" is the same as "*".
In Section
Seekers of Perl Wisdom
|
|