#!/usr/local/bin/perl sub CheckDigitISBN($); # Declaration sub CueCatDecode($$); # Declaration sub BarCodeType($); # Declaration # CueCat Decoder & ISBN Check Digit Maker For Perl # Version 1.0.0 GPL # All Code Here is free to use but must give credit # Written By Kevin Fowlks # http://www.barcode-search.com # Aug 29,2000 # Arg 1 is the Cuecat String and Arg 2 is the type # e.g.Type Can be the Following 1 - (CuecatID) 2 - (Barcode Type) 3 - (Barcode) # Returns String of Barcode Based On Type sub CueCatDecode($$) { $value=@_[0]; $s=@_[1]; # Lets Split our CuCat String into a Array with all the differnt subsections @v=split /\./,$value; $t=0; $flip=0; # Got to start off on our first section of code for ($i=0;$i