[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] syntax barriers?




On Sun, 13 May 2001, Marc Lehmann wrote:
> 
> similar problem: the eval (that is hidden inside the "do $path" as well)
> si the one thing that shouldn't be allowed in a solution. obviously,
> seperating the string into many substrings (which is possible since each
> eval should be a valid BLOCK) and eval'ing them seperately would always work
> - however, then I wouldn't need to ask ;)

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.

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
"Opinions may of course differ on this topic, but wouldn't it be better
 to persuade the hon. Usenaut, as a first priority, to post accurate
 information, before persuading them to abandon this remarkably accurate
 indicator of usenet bogosity?"         -- Alan J. Flavell in c.l.p.misc




==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe