1package Digest::Elf; 2 3use 5.006; 4use strict; 5use warnings; 6use vars qw( $VERSION ); 7 8require Exporter; 9require DynaLoader; 10 11our @ISA = qw(Exporter DynaLoader); 12 13# Items to export into callers namespace by default. Note: do not export 14# names by default without a very good reason. Use EXPORT_OK instead. 15# Do not simply export all your public functions/methods/constants. 16 17# This allows declaration use Digest::Elf ':all'; 18# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK 19# will save memory. 20our %EXPORT_TAGS = ( 'all' => [ qw( 21 elf 22) ] ); 23 24our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); 25 26our @EXPORT = qw( 27 28); 29 30$VERSION = sprintf( "%s", q{$Id: Elf.pm,v 1.42 2016/03/05 04:18:47 steve Exp $} =~ /(\d+\.\d+)/ ); 31 32bootstrap Digest::Elf $VERSION; 33 34# Preloaded methods go here. 35 361; 37__END__ 38 39=head1 NAME 40 41Digest::Elf - Perl extension for generating ElfHash values. 42 43=head1 SYNOPSIS 44 45 use Digest::Elf; 46 print Digest::Elf::elf( "foo" ); 47 48=head1 DESCRIPTION 49 50Digest::Elf is an implementation of the ElfHash algorithm. 51 52=head1 FUNCTIONS 53 54=over 55 56=item elf( VALUE ) 57 58Create a hash value based on the input value. 59 60=back 61 62=head1 AUTHOR 63 64Steve McKay, E<lt>steve@colgreen.comE<gt> 65 66=head1 SEE ALSO 67 68=over 69 70=item Digest::MD5 71 72=back 73 74=cut 75 76