NAME

Tap - represent a tap in a pipeline

SYNOPSIS

use Pipeline;
use Tap;
my $pipeline = Pipeline->new();
$pipeline->add_segment(
  Tap->new(type => 'in'  ),
  # ...
  Tap->new(type => 'out' ),
);

DESCRIPTION

Tap is a module used by the Pipeline tests and is a Pipeline::Segment. It represents a Tap, which can have one of two states. If it is an 'in' tap, then the tap flows water into the pipeline. If it is an 'out' tap, then the tap fetches water from the pipeline and returns it as a production.

AUTHOR

Leon Brocard <leon@fotango.com>

COPYRIGHT

Copyright 2003 Fotango Ltd. All Rights Reserved.

This software is released under the same terms as Perl itself.