Table::ParentChild::Head - Perl extension for blah blah blah


Table-ParentChild documentation Contained in the Table-ParentChild distribution.

Index


Code Index:

NAME

Top

Table::ParentChild::Head - Perl extension for blah blah blah

SYNOPSIS

Top

  use Table::ParentChild::Head;

DESCRIPTION

Top

EXPORT

None by default.

AUTHOR

Top

A. U. Thor, <a.u.thor@a.galaxy.far.far.away>

SEE ALSO

Top

perl.


Table-ParentChild documentation Contained in the Table-ParentChild distribution.
# ============================================================
# Table::ParentChild::
#  _   _                _ 
# | | | | ___  __ _  __| |
# | |_| |/ _ \/ _` |/ _` |
# |  _  |  __/ (_| | (_| |
# |_| |_|\___|\__,_|\__,_|
#                         
# ============================================================

package Table::ParentChild::Head;

use 5.006;
use strict;
use warnings;
use Carp;

require Exporter;
require DynaLoader;
use AutoLoader;

our @ISA = qw(Exporter DynaLoader);


our %EXPORT_TAGS = ( 'all' => [ qw( ) ] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our @EXPORT = qw( );
our $VERSION = '0.01';

sub AUTOLOAD {
    # This AUTOLOAD is used to 'autoload' constants from the constant()
    # XS function.  If a constant is not found then control is passed
    # to the AUTOLOAD in AutoLoader.

    my $constname;
    our $AUTOLOAD;
    ($constname = $AUTOLOAD) =~ s/.*:://;
    croak "& not defined" if $constname eq 'constant';
    my $val = constant($constname, @_ ? $_[0] : 0);
    if ($! != 0) {
	if ($! =~ /Invalid/ || $!{EINVAL}) {
	    $AutoLoader::AUTOLOAD = $AUTOLOAD;
	    goto &AutoLoader::AUTOLOAD;
	}
	else {
	    croak "Your vendor has not defined Table::ParentChild::Head macro $constname";
	}
    }
    {
	no strict 'refs';
	# Fixed between 5.005_53 and 5.005_61
	if ($] >= 5.00561) {
	    *$AUTOLOAD = sub () { $val };
	}
	else {
	    *$AUTOLOAD = sub { $val };
	}
    }
    goto &$AUTOLOAD;
}

bootstrap Table::ParentChild::Head $VERSION;

1;
__END__