From 6e3b69510d55daec89cb40a84f74a49c6331d600 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Wed, 19 Jan 2011 14:39:39 -0700 Subject: [PATCH] Package before use. --- src/API/Std.pm | 6 +++--- src/Parser/Config.pm | 4 ++-- src/Parser/Lang.pm | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/API/Std.pm b/src/API/Std.pm index 8510553..38c4675 100644 --- a/src/API/Std.pm +++ b/src/API/Std.pm @@ -1,12 +1,12 @@ # Auto IRC Bot. An advanced, lightweight and powerful IRC bot. # Copyright (C) 2010-2011 Xelhua Development Team (doc/CREDITS) # This program is free software; rights to this code are stated in doc/LICENSE. -use strict; -use warnings; -use Exporter; # Standard API subroutines. package API::Std; +use strict; +use warnings; +use Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw(conf_get trans err); diff --git a/src/Parser/Config.pm b/src/Parser/Config.pm index 912a904..5ba186e 100644 --- a/src/Parser/Config.pm +++ b/src/Parser/Config.pm @@ -1,11 +1,11 @@ # Auto IRC Bot. An advanced, lightweight and powerful IRC bot. # Copyright (C) 2010-2011 Xelhua Development Team (doc/CREDITS) # This program is free software; rights to this code are stated in doc/LICENSE. -use strict; -use warnings; # Configuration parser. package Parser::Config; +use strict; +use warnings; # Create a new instance. # Funny how we still haven't taken advantage of Mouse/Moose yet. diff --git a/src/Parser/Lang.pm b/src/Parser/Lang.pm index 161f6b2..363b50e 100644 --- a/src/Parser/Lang.pm +++ b/src/Parser/Lang.pm @@ -1,11 +1,11 @@ # Auto IRC Bot. An advanced, lightweight and powerful IRC bot. # Copyright (C) 2010-2011 Xelhua Development Team (doc/CREDITS) # This program is free software; rights to this code are stated in doc/LICENSE. -use strict; -use warnings; # Language file parser. package Parser::Lang; +use strict; +use warnings; use API::Log qw(dbug alog);