# # $Id: Next.pm 2198 2012-11-15 13:03:10Z gomor $ # package Net::SinFP3::Next; use strict; use warnings; use base qw(Class::Gomor::Array); our @AS = qw( global ); __PACKAGE__->cgBuildIndices; __PACKAGE__->cgBuildAccessorsScalar(\@AS); sub new { my $self = shift->SUPER::new( @_, ); if (!defined($self->global)) { die("[-] ".__PACKAGE__.": You must provide a global object\n"); } return $self; } sub print { return ''; } 1; __END__ =head1 NAME Net::SinFP3::Next - base class for Next objects =head1 SYNOPSIS use base qw(Net::SinFP3::Next); # Your Next module code =head1 DESCRIPTION This is the base class for all B objects. When a B plugin B method is ran, it returns either a single B object or an arrayref of B objects. Then, the main B loop is ran against each of these B objects. =head1 ATTRIBUTES =over 4 =item B (B) The global object containing global parameters and pointers to currently executing plugins. =back =head1 METHODS =over 4 =item B (%hash) Object constructor. You must give it the following attributes: B. =item B () Return a string containing identification data for this object. =back =head1 AUTHOR Patrice EGomoRE Auffret =head1 COPYRIGHT AND LICENSE Copyright (c) 2011-2012, Patrice EGomoRE Auffret You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive. =cut