http://qs321.pair.com?node_id=546791


in reply to Re: Perl Will Stay a Dynamic Language
in thread Syntax checking without BEGIN blocks

Wait! The language can't be safely syntax checked, and thus can't be safely debugged, either, right? (Any hostile code won't be intercepted until after the initial syntax check, by which time it's too late.)

Can you explain to me how a syntax check can detect hostile code? Your whole premise seems to depend on this and I can't see how it relates...

If the syntax check fails, then I would assume that the code will not execute (you will get a compiler error)! And if the syntax check passes, all that tells you is that the program will execute without a compiler error. Nowhere would it say 'Syntax check failed because of hostile code'. So what does a syntax checker gain you here in added safety?

I'm just a little confused about what you are actually trying to accomplish here...

ps I did read all the posts in the thread, but I may have missed something. Appologies if I did...