in reply to Re: Re: How to do that with eval ?
in thread How to do that with eval ?
Absolutely. If the above script was a cgi, you might as well reformat your disk now. If the script is meant to be a 'quick hack', evals work, they work well, and with minimal coding.
I have used unsafe hacks like this for my personal dirty scripts because I dont have the time, inclination, or need to make them luser or h4x0r safe.
As tachyon says, never use eval on user input unless this is intended to be a 'dirty quick hack'.
I have used unsafe hacks like this for my personal dirty scripts because I dont have the time, inclination, or need to make them luser or h4x0r safe.
As tachyon says, never use eval on user input unless this is intended to be a 'dirty quick hack'.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: How to do that with eval ?
by Hissingsid (Sexton) on Apr 10, 2004 at 08:34 UTC | |
by perlmonkey (Hermit) on Apr 10, 2004 at 19:58 UTC |
In Section
Seekers of Perl Wisdom