NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Can't get it to work... :-( perl encoding issue?! (Score:1)
perl -MDigest::MD5 -e 'print Digest::MD5::md5_hex("rgiersig@cpan.org"), "\n"'which gives me
42675453fde7b6ee681e9c0ded931c00, but this doesn't work. I tried to verify withperl -MDigest::MD5 -e 'print Digest::MD5::md5_hex("mschwern@cpan.org"), "\n"'which gives me
61c2a42ed105748d58b7b2f7ac3cd712, but the article saysdb1a33946e2a8577b8d3377d0715bf61.An encoding issue?! BTW, I'm runnign 5.8.8 on Linux...
Re:Can't get it to work... :-( perl encoding issue (Score:2)
Re: (Score:1)
But I guess you meant "-we" (which is really easy to type), not "-wle"...
Anyway, now I'm waiting for the positive effect that my gravatar on CPAN [cpan.org] will have on the support requests...
Re: (Score:1)
No, actually the
-lgives you a little extra help too, it saves you from having to print"\n".So your one-liner could've just been:
perl -MDigest::MD5 -wle 'print Digest::MD5::md5_hex( q(mschwern@cpan.org) )'Re:Can't get it to work... :-( perl encoding issue (Score:1)
me too [gravatar.com] btw...perl -MDigest::MD5 -wle print+Digest::MD5::md5_hex(shift().q(@cpan.org)) burakReply to This
Parent