good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Executing a string as a Perl commandby Jenda (Abbot) |
on May 10, 2011 at 13:57 UTC ( [id://903980]=note: print w/replies, xml ) | Need Help?? |
Drop the double quotes! They are not necessary (in this case) and just slow the code down. In some cases blindly enclosing variables in quotes would lead to strange looking bugs. This is Perl, not a shell script. Jenda
In Section
Seekers of Perl Wisdom
|
|