Class::WhiteHole man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

Class::WhiteHole(3)   User Contributed Perl Documentation  Class::WhiteHole(3)

NAME
       Class::WhiteHole - base class to treat unhandled method calls as errors

SYNOPSIS
	 package Bar;

	 # DBI inherits from DynaLoader which inherits from AutoLoader
	 # Bar wants to avoid this accidental inheritance of AutoLoader.
	 use base qw(Class::WhiteHole DBI);

DESCRIPTION
       Its possible to accidentally inherit an AUTOLOAD method.	 Often this
       will happen if a class somewhere in the chain uses AutoLoader or
       defines one of their own.  This can lead to confusing error messages
       when method lookups fail.

       Sometimes you want to avoid this accidental inheritance.	 In that case,
       inherit from Class::WhiteHole.  All unhandled methods will produce
       normal Perl error messages.

BUGS & CAVEATS
       Be sure to have Class::WhiteHole before the class from which you're
       inheriting AUTOLOAD in the ISA.	Usually you'll want Class::WhiteHole
       to come first.

       If your class inherits autoloaded routines this class may cause them to
       stop working.  Choose wisely before using.

       White holes are only a hypothesis and may not really exist.

COPYRIGHT
       Copyright 2000 Michael G Schwern <schwern@pobox.com> all rights
       reserved.  This program is free software; you can redistribute it
       and/or modify it under the same terms as Perl itself.

AUTHOR
       Michael G Schwern <schwern@pobox.com>

SEE ALSO
       Class::BlackHole

perl v5.18.1			  2003-05-28		   Class::WhiteHole(3)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net