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

Re: [FWP] syntax barriers?



On Sat, May 12, 2001 at 10:05:39AM -0700, Marc Lehmann wrote:
> Can you improve the "[]" solution or even find the perfect "syntax/error
> barrier"?

Write the user code out to a seperate file and use 

        eval{ do($user_file) };
        warn $@ if $@;

-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>	     Kwalitee Is Job One
BOFH excuse #197:

I'm sorry a pentium won't do, you need an SGI to connect with us.

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