in reply to Re: stringification
in thread stringification
I think it is fairly secure: you can set variables but you can't execute anything.Not true at all. What if someone hands you:
You've just executed the date command. I'll leave it to you to come up with nastier ones.foo__`date`
There are safer (and faster) ways to walk a tree than to use runtime string eval. See the parents of "RE: (jcwren) RE: varying length multi-dimensional hashes" for better ways.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: stringification
by dash2 (Hermit) on Feb 28, 2001 at 17:25 UTC | |
by chipmunk (Parson) on Feb 28, 2001 at 20:28 UTC | |
by dash2 (Hermit) on Mar 01, 2001 at 14:21 UTC | |
by deprecated (Priest) on Feb 28, 2001 at 17:48 UTC |