Enclose all packages blocks and add Package devel docu.

This commit is contained in:
Daniel Nichter
2011-06-28 17:50:02 -06:00
parent b4b6376be1
commit 82931ec399
35 changed files with 142 additions and 106 deletions

View File

@@ -17,11 +17,16 @@
# ###########################################################################
# ProtocolParser package $Revision: 7522 $
# ###########################################################################
# Package: ProtocolParser
# ProtocolParser is a parent class for protocol-specific parsers.
{
package ProtocolParser;
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use constant MKDEBUG => $ENV{MKDEBUG} || 0;
eval {
require IO::Uncompress::Inflate;
@@ -33,8 +38,6 @@ $Data::Dumper::Indent = 1;
$Data::Dumper::Sortkeys = 1;
$Data::Dumper::Quotekeys = 0;
use constant MKDEBUG => $ENV{MKDEBUG} || 0;
sub new {
my ( $class, %args ) = @_;
@@ -335,7 +338,7 @@ sub _d {
}
1;
}
# ###########################################################################
# End ProtocolParser package
# ###########################################################################