June 2001 Making a Module Back Slide 6 Forward

$VERSION

package Sample::Module;
use strict;

BEGIN{
  use Exporter ();
  use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
  $VERSION     = 0.01;
  @ISA         = qw (Exporter);
  @EXPORT      = qw ();
  @EXPORT_OK   = qw ();
  %EXPORT_TAGS = ();
}

#Everything else goes here

1;
__END__

  • Required variable
  • Should be a real number like 0.1 or 2.9996
  • Should not be like LINUX kernal numbering 2.2.4 with extra periods


Copyright © 2001 R. Geoffrey Avery Back Contents Forward