On Thu, Mar 04, 2004 at 11:04:38PM +0000, Nigel Sandever wrote: : On the basis of what is known so far, will p6 be able to detect : undefined subs at compile time?
In theory, yes, if you ask it to check in a CHECK block, and if you're willing for the check to assume that no eval or INIT block is going to supply the missing sub before it's actually called, and that no run-time code is going to alias the sub into one of your namespaces where it'll be visible to call, and that no AUTOLOAD in scope will be willing to emulate it. (But then, all that's true of Perl 5 right now as well...) Larry