[Tutor] What are *appropriate* uses for exec() and eval() ?

boB Stepp robertvstepp at gmail.com
Mon Feb 16 20:52:16 CET 2015


I have heard periodically about the potential evils of using exec()
and eval(), including today,  on this list. I gather that the first
requirement for safely using these functions is that the passed
argument MUST be from a trusted source. So what would be examples
where the use of these functions IS appropriate?

-- 
boB


More information about the Tutor mailing list