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


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

eval is the wrong answer since it can run arbitrary code

If the user gives you some form of # rm -rf * ~ /, a lot of your files get deleted