[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] MD5 hex problem. Help me please
> I've got problem with MD5 again.
> with
> -----
> UserTag md5hash Interpolate
> UserTag md5hash HasEndTag
> UserTag md5hash Routine <<EOF
> use Digest::MD5;
> sub {
> my $val = shift;
> my $hash = MD5->hexhash($val);
> return $hash;
> }
> EOF
> -----
> in ic error.log I found:
>
> UserTag 'md5hash' code is not a subroutine reference
> > In line 10 of the configuration file 'usertag/md5hash.tag':
> > UserTag md5hash Routine <<EOF
>
> Any idea where I wrong?
> Thank to everybody
>
You probably have whitespace after the 'EOF' on the last line.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/