autouse Data::Dumper
parent
b0d98c6052
commit
b0909a4c57
|
@ -61,7 +61,7 @@ use constant SLEEP_TIME => 10000; # In microseconds
|
||||||
use ZoneMinder;
|
use ZoneMinder;
|
||||||
use DBI;
|
use DBI;
|
||||||
use POSIX;
|
use POSIX;
|
||||||
use Data::Dumper;
|
use autouse 'Data::Dumper'=>qw(Dumper);
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
use autouse 'Pod::Usage'=>qw(pod2usage);
|
use autouse 'Pod::Usage'=>qw(pod2usage);
|
||||||
use Time::HiRes qw( usleep );
|
use Time::HiRes qw( usleep );
|
||||||
|
|
|
@ -85,7 +85,7 @@ push( @connections,
|
||||||
|
|
||||||
use DBI;
|
use DBI;
|
||||||
#use Socket;
|
#use Socket;
|
||||||
use Data::Dumper;
|
use autouse 'Data::Dumper'=>qw(Dumper);
|
||||||
use POSIX qw( EINTR );
|
use POSIX qw( EINTR );
|
||||||
use Time::HiRes qw( usleep );
|
use Time::HiRes qw( usleep );
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ use POSIX;
|
||||||
use DBI;
|
use DBI;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
use autouse 'Pod::Usage'=>qw(pod2usage);
|
use autouse 'Pod::Usage'=>qw(pod2usage);
|
||||||
use Data::Dumper;
|
use autouse 'Data::Dumper'=>qw(Dumper);
|
||||||
|
|
||||||
use constant EVENT_PATH => ($Config{ZM_DIR_EVENTS}=~m|/|)?$Config{ZM_DIR_EVENTS}:($Config{ZM_PATH_WEB}.'/'.$Config{ZM_DIR_EVENTS});
|
use constant EVENT_PATH => ($Config{ZM_DIR_EVENTS}=~m|/|)?$Config{ZM_DIR_EVENTS}:($Config{ZM_PATH_WEB}.'/'.$Config{ZM_DIR_EVENTS});
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ use bytes;
|
||||||
@EXTRA_PERL_LIB@
|
@EXTRA_PERL_LIB@
|
||||||
use ZoneMinder;
|
use ZoneMinder;
|
||||||
use DBI;
|
use DBI;
|
||||||
use Data::Dumper;
|
use autouse 'Data::Dumper'=>qw(Dumper);
|
||||||
use POSIX qw(strftime);
|
use POSIX qw(strftime);
|
||||||
use Getopt::Long qw(:config no_ignore_case );
|
use Getopt::Long qw(:config no_ignore_case );
|
||||||
use autouse 'Pod::Usage'=>qw(pod2usage);
|
use autouse 'Pod::Usage'=>qw(pod2usage);
|
||||||
|
|
|
@ -57,7 +57,7 @@ use constant START_DELAY => 30; # To give everything else time to start
|
||||||
use ZoneMinder;
|
use ZoneMinder;
|
||||||
use POSIX;
|
use POSIX;
|
||||||
use DBI;
|
use DBI;
|
||||||
use Data::Dumper;
|
use autouse 'Data::Dumper'=>qw(Dumper);
|
||||||
|
|
||||||
$| = 1;
|
$| = 1;
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ use POSIX;
|
||||||
use Socket;
|
use Socket;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
use autouse 'Pod::Usage'=>qw(pod2usage);
|
use autouse 'Pod::Usage'=>qw(pod2usage);
|
||||||
use Data::Dumper;
|
use autouse 'Data::Dumper'=>qw(Dumper);
|
||||||
|
|
||||||
use constant SOCK_FILE => $Config{ZM_PATH_SOCKS}.'/zmx10.sock';
|
use constant SOCK_FILE => $Config{ZM_PATH_SOCKS}.'/zmx10.sock';
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ use POSIX;
|
||||||
use DBI;
|
use DBI;
|
||||||
use Socket;
|
use Socket;
|
||||||
use X10::ActiveHome;
|
use X10::ActiveHome;
|
||||||
use Data::Dumper;
|
use autouse 'Data::Dumper'=>qw(Dumper);
|
||||||
|
|
||||||
our $dbh;
|
our $dbh;
|
||||||
our $x10;
|
our $x10;
|
||||||
|
|
Loading…
Reference in New Issue