PNI::In - is a node input
my $node = PNI::Node->new; my $in = PNI::In->new( id => 'in', node => $node, );
my $edge = $in->edge;
Return the input slot's edge. Remember that a PNI::In can hold only one edge.
use PNI::In; my $in = PNI::In::by_id($in_id);
Given a slot id, returns a reference to the slot.
$in->is_connected;
To install PNI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PNI
CPAN shell
perl -MCPAN -e shell install PNI
For more information on module installation, please visit the detailed CPAN module installation guide.