http://www.perlmonks.org?node_id=903980


in reply to Reaped: Re: Executing a string as a Perl command
in thread Executing a string as a Perl command

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
Enoch was right!
Enjoy the last years of Rome.