We Recommend

Learning Perl Learning Perl
In this smooth, carefully paced course, a leading Perl trainer teaches you to program in the language that threatens to make C, sed, awk, and the Unix shell obsolete for many tasks. This book is the "official" guide for both formal (classroom) and informal learning. It is fully accessible to the novice programmer.


Posted By

wolfie on 09/11/07


Tagged

perl md5 1-liner


Versions (?)


Perl 1-liner to generate an MD5


Published in: Perl 


This shows how to use a module that normally needs a 'qw' attachment to the use statement (hint: its the = sign). You can add others by using comma separated values.

  1. perl -MDigest::MD5=md5_hex -e 'print md5_hex("What you want to MD5") . "\n";'

Report this snippet 

You need to login to post a comment.