6
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
8
# set the version for version checking
13
%EXPORT_TAGS = ( ); # eg: TAG => [ qw!name1 name2! ],
15
# your exported package globals go here,
16
# as well as any optionally exported functions
17
@EXPORT_OK = qw($Var1 %Hashit &func3);
19
use vars qw($Var1 %Hashit);
20
# non-exported package globals go here
21
use vars qw(@more $stuff);
23
# initialize package globals, first exported ones
27
# then the others (which are still accessible as $Some::Module::stuff)
32
# file-private lexicals go here
38
print "hello world\n";
42
END { } # module clean-up code here (global destructor)
50
ModuleName - short discription of your program
58
long description of your module
62
need to know things before somebody uses your program