There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

PNI::Edge - is used to connect

SYNOPSIS

# Connects the output of a node to the input of another node.
my $edge = PNI::Edge->new( source => $output, target => $input );

ATTRIBUTES

source

my $out = $edge->source;

target

my $in = $edge->target;

METHODS

task

$edge->task;

If edge is connected, pass data from target to source.