pull/230/head
Isaac Connor 2013-11-01 09:50:50 -04:00
parent 72b80d7417
commit d428c832e7
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,8 @@ require Exporter;
our @ISA = qw(Exporter);
use constant ZM_VERSION => "@VERSION";
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.
@ -39,7 +41,7 @@ our @ISA = qw(Exporter);
# This allows declaration use ZoneMinder ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
our %EXPORT_TAGS = ( 'all' => [ qw() ] );
our %EXPORT_TAGS = ( 'all' => [ qw(ZM_VERSION) ] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );