start work on figuring out what all I want this to do, writing some initial docs, and creating empty functions
This commit is contained in:
parent
a879bc1634
commit
97b0224da3
|
@ -16,10 +16,8 @@ WriteMakefile(
|
|||
},
|
||||
BUILD_REQUIRES => {
|
||||
'Test::More' => '0',
|
||||
},
|
||||
PREREQ_PM => {
|
||||
#'ABC' => '1.6',
|
||||
#'Foo::Bar::Module' => '5.0401',
|
||||
'Net::CIDR' => '0',
|
||||
'Error::Helper' => '1.0.0',
|
||||
},
|
||||
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
|
||||
clean => { FILES => 'Parse-Netstat-Search-*' },
|
||||
|
|
|
@ -6,15 +6,15 @@ use warnings;
|
|||
|
||||
=head1 NAME
|
||||
|
||||
Parse::Netstat::Search - The great new Parse::Netstat::Search!
|
||||
Parse::Netstat::Search - Searches
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
Version 0.01
|
||||
Version 0.0.0
|
||||
|
||||
=cut
|
||||
|
||||
our $VERSION = '0.01';
|
||||
our $VERSION = '0.0.0';
|
||||
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
@ -25,28 +25,110 @@ Perhaps a little code snippet.
|
|||
|
||||
use Parse::Netstat::Search;
|
||||
|
||||
my $foo = Parse::Netstat::Search->new();
|
||||
...
|
||||
my $search = Parse::Netstat::Search->new();
|
||||
|
||||
=head1 EXPORT
|
||||
|
||||
A list of functions that can be exported. You can delete this section
|
||||
if you don't export anything, such as for a purely object-oriented module.
|
||||
=head1 methods
|
||||
|
||||
=head1 SUBROUTINES/METHODS
|
||||
=head2 new
|
||||
|
||||
=head2 function1
|
||||
=cut
|
||||
|
||||
=cut
|
||||
sub new{
|
||||
|
||||
sub function1 {
|
||||
}
|
||||
|
||||
=head2 function2
|
||||
=head2 get_cidrs
|
||||
|
||||
Retrieves the CIDR match list.
|
||||
|
||||
The returned value is an array.
|
||||
|
||||
=cut
|
||||
|
||||
sub function2 {
|
||||
sub get_cidr{
|
||||
|
||||
}
|
||||
|
||||
=head2 get_protocols
|
||||
|
||||
Gets a list of desired protocols.
|
||||
|
||||
The returned value is a array.
|
||||
|
||||
=cut
|
||||
|
||||
sub get_protocols{
|
||||
|
||||
}
|
||||
|
||||
=head2 get_states
|
||||
|
||||
Get a list of desired sets.
|
||||
|
||||
The returned value is a array.
|
||||
|
||||
=cut
|
||||
|
||||
sub get_states{
|
||||
|
||||
}
|
||||
|
||||
=head2 set_cidrs
|
||||
|
||||
This sets the list of CIDRs to search for
|
||||
in either the local or remote field.
|
||||
|
||||
One value is taken and that is a array of CIDRs.
|
||||
|
||||
Validating in is done by Net::CIDR::cidrvalidate.
|
||||
|
||||
=cut
|
||||
|
||||
sub set_cidrs{
|
||||
|
||||
}
|
||||
|
||||
=head2 set_ports
|
||||
|
||||
This sets the ports to search for in either
|
||||
the local or remote field.
|
||||
|
||||
One value is taken and that is a array of ports.
|
||||
|
||||
=cut
|
||||
|
||||
sub set_ports{
|
||||
|
||||
}
|
||||
|
||||
=head2 set_protocols
|
||||
|
||||
Sets the list of desired protocols to match.
|
||||
|
||||
One value is taken and that is a array.
|
||||
|
||||
If this is undef, then previous settings will be cleared.
|
||||
|
||||
=cut
|
||||
|
||||
sub set_protocols{
|
||||
|
||||
}
|
||||
|
||||
=head2 set_states
|
||||
|
||||
Sets the list of desired states to match.
|
||||
|
||||
One value is taken and that is a array.
|
||||
|
||||
If this is undef, then previous settings will be cleared.
|
||||
|
||||
|
||||
=cut
|
||||
|
||||
sub set_states{
|
||||
|
||||
}
|
||||
|
||||
=head1 AUTHOR
|
||||
|
|
Caricamento…
Fai riferimento in un nuovo problema