Included 'use bytes' instruction. Put strict at top.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1316 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-02-21 21:51:02 +00:00
parent e143744d14
commit 305797deb7
9 changed files with 18 additions and 7 deletions

View File

@ -29,6 +29,8 @@
# alone as this is valid if they are newly created and have no events
# yet.
#
use strict;
use bytes;
# ==========================================================================
#
@ -85,7 +87,6 @@ use constant VERBOSE => 0; # Whether to output more verbose debug
#
# ==========================================================================
use strict;
use DBI;
use Getopt::Long;

View File

@ -27,6 +27,8 @@
# records what's running and what's not. Other invocations just
# connect to the server and pass instructions to it.
#
use strict;
use bytes;
# ==========================================================================
#
@ -34,7 +36,6 @@
#
# ==========================================================================
use constant ZM_CONFIG => "<from zmconfig>";
use constant ZM_PATH_BIN => "<from zmconfig>";
use constant ZM_PATH_WEB => "<from zmconfig>";
@ -85,7 +86,6 @@ use constant VERBOSE => 0; # Whether to output more verbose debug
#
# ==========================================================================
use strict;
use POSIX;
use Socket;
use IO::Handle;

View File

@ -26,6 +26,7 @@
# matching events
#
use strict;
use bytes;
# ==========================================================================
#

View File

@ -25,6 +25,7 @@
# allow command line control for automatic restart on reboot (see zm script)
#
use strict;
use bytes;
# ==========================================================================
#

View File

@ -24,6 +24,9 @@
# This script is used to trigger and cancel alarms from external sources
# using an arbitrary text based format
#
use strict;
use bytes;
# ==========================================================================
#
# User config
@ -95,7 +98,6 @@ sub parseTrigger1
#
# ==========================================================================
use strict;
use DBI;
use POSIX;
use Fcntl;

View File

@ -25,6 +25,8 @@
# at the the moment. It will eventually be responsible for applying and
# configuring upgrades etc, including on the fly upgrades.
#
use strict;
use bytes;
# ==========================================================================
#
@ -95,7 +97,6 @@ use constant VERBOSE => 0; # Whether to output more verbose debug
#
# ==========================================================================
use strict;
use POSIX;
use DBI;
use Getopt::Long;

View File

@ -25,6 +25,7 @@
# or as email attachments.
#
use strict;
use bytes;
# ==========================================================================
#

View File

@ -25,6 +25,8 @@
# checks the fps output of the active daemons to check they haven't
# locked up. If they have then they are killed and restarted
#
use strict;
use bytes;
# ==========================================================================
#
@ -80,7 +82,6 @@ use constant VERBOSE => 0; # Whether to output more verbose debug
#
# ==========================================================================
use strict;
use POSIX;
use DBI;
use Data::Dumper;

View File

@ -24,6 +24,8 @@
# This script controls the monitoring of the X10 interface and the consequent
# management of the ZM daemons based on the receipt of X10 signals.
#
use strict;
use bytes;
# ==========================================================================
#
@ -79,7 +81,6 @@ use constant VERBOSE => 0; # Whether to output more verbose debug
#
# ==========================================================================
use strict;
use POSIX;
use Socket;
use Getopt::Long;
@ -173,6 +174,8 @@ exit;
package X10Server;
use strict;
use bytes;
use POSIX;
use DBI;
use Socket;