summaryrefslogtreecommitdiff
path: root/scripts/myhash.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/myhash.pm')
-rwxr-xr-xscripts/myhash.pm29
1 files changed, 0 insertions, 29 deletions
diff --git a/scripts/myhash.pm b/scripts/myhash.pm
deleted file mode 100755
index 5d8f1bd..0000000
--- a/scripts/myhash.pm
+++ /dev/null
@@ -1,29 +0,0 @@
-package myhash;
-
-
-##################################################
-#
-# GiantDisc mp3 Jukebox
-#
-# © 2000, Rolf Brugger
-#
-##################################################
-
-#use lib '/usr/local/bin';
-#BEGIN{;}
-#END{;}
-
-
-############################################################
-###
-sub addvaltohash{ # gets a current hashval and a new elment
- # returns new hashval
- my ($hashval,$newelement) = @_;
-
- return (($hashval << 5) ^ ($hashval >> 27)) ^ $newelement;
- # (^ is bitwise EXOR)
-}
-
-
-1;
-#