[ic] MD5 hex problem. Help me please

roland interchange-users@interchange.redhat.com
Wed May 29 05:35:02 2002


> > 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
> _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
> 
No, I've got no white space
Any other idea?
Thanks
Roland