New module Class::WhiteHole

2000-11-11 Thread Perl Authors Upload Server
The next version of the Module List will list the following module: modid: Class::WhiteHole DSLI:RdpO description: Treat unhandled method calls as errors userid: MSCHWERN (Michael G Schwern) chapterid:6 (Data_Type_Utilities) enteredby: ANDK (Andreas J. König

Re: Class::WhiteHole

2000-07-07 Thread Graham Barr
In fact the attached patch allows you to stop the AUTOLOAD inheritance with a simple sub AUTOLOAD; Which will currently dies with an undefined subroutine package::AUTOLOAD but with this patch it will die using the name of the sub being called Graham. --- gv.c.orig Fri Jun 30 14:01:12 2000

Re: Class::WhiteHole

2000-07-07 Thread Graham Barr
On Fri, Jul 07, 2000 at 04:07:12PM -0400, Michael G Schwern wrote: > On Fri, Jul 07, 2000 at 03:19:29PM +0100, Graham Barr wrote: > > I have not looked at the code, but I assume it works by Class::WhiteHole > > defining an AUTOLOAD sub which just dies. > > Pretty much.

Re: Class::WhiteHole

2000-07-07 Thread Michael G Schwern
On Fri, Jul 07, 2000 at 03:19:29PM +0100, Graham Barr wrote: > I have not looked at the code, but I assume it works by Class::WhiteHole > defining an AUTOLOAD sub which just dies. Pretty much. You have to do a few tricks for DESTROY and to make sure the right error message shows up (

Re: Class::WhiteHole

2000-07-07 Thread Chris Nandor
At 14.56 -0400 2000.07.07, Kurt D. Starsinic wrote: >Now then, I see a tiny hole in this logic: >* Java is just for idiots. >* Java favors long class names. >... Any language that uses long class names ever is idiotic. No, just any language that _favors_ them. :)

Re: Class::WhiteHole

2000-07-07 Thread Kurt D. Starsinic
On Fri, Jul 07, 2000 at 02:33:39PM -0400, Michael G Schwern wrote: > On Fri, Jul 07, 2000 at 09:58:40AM -0400, Kurt D. Starsinic wrote: > > The module isn't silly at all, but the name isn't too expressive. > > Maybe something like Class::NoAutoInherit or something? > > Perhaps, but I kinda wa

Re: Class::WhiteHole

2000-07-07 Thread Michael G Schwern
On Fri, Jul 07, 2000 at 09:58:40AM -0400, Kurt D. Starsinic wrote: > The module isn't silly at all, but the name isn't too expressive. > Maybe something like Class::NoAutoInherit or something? Perhaps, but I kinda want this module to remain obscure. Used naively it can cause really odd error

Re: Class::WhiteHole

2000-07-07 Thread Graham Barr
something like Class::NoAutoInherit or something? Even that name is ambigious as it implies (to me) no automatic inheritance, which I know sounds silly. Maybe Class::NoAutoLoader; I have not looked at the code, but I assume it works by Class::WhiteHole defining an AUTOLOAD sub which just dies. I

Re: Class::WhiteHole

2000-07-07 Thread Chris Nandor
At 9.58 -0400 2000.07.07, Kurt D. Starsinic wrote: >On Fri, Jul 07, 2000 at 04:26:39AM -0400, Michael G Schwern wrote: >> NameDSLIDescription Info >> - ---- >

Re: Class::WhiteHole

2000-07-07 Thread Kurt D. Starsinic
On Fri, Jul 07, 2000 at 04:26:39AM -0400, Michael G Schwern wrote: > NameDSLIDescription Info > - ---- > Class::WhiteHoleadpOBlocks autoloader inheritance

Class::WhiteHole

2000-07-07 Thread Michael G Schwern
NameDSLIDescription Info - Class::WhiteHoleadpOBlocks autoloader inheritance MSCHWERN So, this module might be a little silly, but I had a need. This does the