$e = "my \$i=0; sub foo{ print \"\$i foo\\n\"; if (\$i < 10){ \$i++; print \"calling foo\\n\"; &foo; } } &foo\;"; eval "$e"; print $@
In reply to Re: Re: eval strings non reentrant?
by gmishra
in thread eval strings non reentrant?
by mutated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |