On Wed, Feb 02, 2000 at 10:47:43PM -0500, Uri Guttman wrote:
> >>>>> "NI" == Nick Ing-Simmons <[EMAIL PROTECTED]> writes:
> 
>   NI> Joshua N Pritikin <[EMAIL PROTECTED]> writes:
>   >> It isn't too bad.  Only the Event package has a custom AUTOLOAD
>   >> function.  It's purpose is to magically make:
>   >> 
>   >> my $w = Event->watcher_type(...);
>   >> 
>   >> Short hand for:
>   >> 
>   >> require Event::watcher_type;
>   >> my $w = Event::watcher_type->new(...);
>   >> 
>   >> Hm.  Maybe that should be in the documentation somewhere...
> 
>   NI> Ick - you did that too. If I had my time over again I would not 
>   NI> have done that in Tk - the constructor idea is fine, but 
>   NI> the implcit require is a pain. In particular you don't discover 
>   NI> that your app has not been correctly B::* compiled till 
>   NI> you try and run it and hit the execution pattern that needs the require.

I think Joshua inherited that. No I wonder where the idea came from :-)

Graham.

Reply via email to