|
Posted by Big and Blue on December 10, 2004, 1:51 am
Please log in for more thread options
gulliver wrote:
>
> Hi, can someone explain the reason of the difference.
> Here is the piece of the code.
>
> Thanks a lot.
>
> #!/usr/bin/perl
> use Digest::MD5 qw(md5_hex);
>
> $md5 = Digest::MD5->new;
>
> print " md5_hex method: ", $md5->md5_hex("foobarbaz"), "n";
According to the documentation for this module md5_hex is a function,
it is *not* a method.
--
-*- Just because I've written it here doesn't -*-
-*- mean that you should, or I do, believe it. -*-
|