#!/usr/bin/perl -w

#############################################################################
# Link - a link between two objects
#
# Copyright (C) 1999-2000 by Tels. All rights reserved.
#############################################################################

package Link;
use vars qw($VERSION);
$VERSION = 1.00;    # Current version of this package
require  5.005;     # requires this Perl version or later

use base Item;
use strict;
use vars qw($AUTOLOAD);

#############################################################################
# private, initialize self 

sub _init
  {
  my $self = shift;
  my $args = shift;

  $self->SUPER::_init($args);
  $self->SUPER::_default( {
   from => 'self', to => 'self', type => 0
   } );
  return $self;
  }

#############################################################################
# public

1; 

__END__

#############################################################################

=pod

=head1 NAME

Link - a link between two objects.

=head1 SYNOPSIS

	use Link;
	use Constants::Dromed qw(L_CONTROL_DEVICE);

	$link = new Link ( from => 'lever', to => 'lamp', 
          type => L_CONTROL_DEVICE );

=head1 REQUIRES

perl5.005, L<Item|Item>

=head1 EXPORTS

Exports nothing.

=head1 DESCRIPTION

This module defines a link between objects.

See also L<Item|Item>.

=head1 BUGS

None known yet.

=head1 AUTHOR

Tels http://bloodgate.com in late 2000.

=cut

