perl 完成 linux md5sum

前端之家收集整理的这篇文章主要介绍了perl 完成 linux md5sum前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

#!/usr/bin/perl -w
#author:jevons zeng 
use strict; 
use Digest::MD5 qw(md5 md5_hex md5_base64); 
my $md5file="acquisition"; 
open FH,$md5file or die("can't not open acquisition\n"); 
print md5_hex(<FH>); 
close FH; 
 

猜你在找的Perl相关文章