Re: Error Laziness?

2005-11-16 Thread Austin Hastings
Luke Palmer wrote: There are two reasons I've posted to perl6-language this time. First of all, is this acceptable behavior? Is it okay to die before the arguments to an undefined sub are evaluated? Something like: widgetMethod new Widget; The best argument I've got for forcing the args

Re: Error Laziness?

2005-11-15 Thread Luke Palmer
On 11/16/05, Luke Palmer [EMAIL PROTECTED] wrote: Here is some perplexing behavior: say Foo; hello there; sub hello () { say Bar; } sub there () { say Baz; } This prints: Foo *** No compatible subroutine found: hello at