On Sun, May 13, 2001 at 11:54:59PM +0300, Ilmari Karonen <iltzu@sci.fi> wrote: > I think multiple evals -- one way or another -- are the only thing that > will work for any input. After all, the user code might contain an > unclosed string or heredoc, or maybe POD. Or use a source filter. I agree. However, since this is an exceptional case anyway I'd also opt for a suboptimal solution that catches "most" problems. Anyway, this was a theoretical question (that I always was interested in ;). -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | | ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe