eval() or not eval()?

Nicholas Dille DarkYeti at gmx.net
Mon Feb 12 01:46:06 PST 2001


> > btw is there any reason not to heavily use eval() ??
> 
> eval() is allways a little dangerous, because you run a 'unknown'
> string as a program. In case of ALFS this doesn't matter, because
> a profile can mess up your system anyway. So people must belive us.
> At the moment each tag in the profile eval($_) it's code.
> But it's no good coding style to use eval() as often as lets say print()
> or my() ;)

alright. that seems reasonable.

nic.





More information about the alfs-discuss mailing list