# MD5Check =head1 NAME MD5Check - Use it for init Web files's md5 values of your site(or other dir), and check if it changed. 检查web目录(或者其他é‡è¦ç³»ç»Ÿç›®å½•)md5值,当目录文件å˜åŒ–æé†’。用于文件防篡改。 =head1 SYNOPSIS use MD5Check; ## åˆå§‹åŒ–目录md5值,傿•°ä¸ºè¦ç›‘控的目录 my $mydir=shift; md5init($mydir); ## 对目录文件进行检查,åªéœ€è¾“入之å‰ä¿å˜çš„md5 文件值。 use MD5Check; my $mydir=shift; md5check($mydir); # oneliner,perlå•行程åºå®žçŽ°åŠŸèƒ½ã€‚ 需è¦å®‰è£…该模å—,简å•通过 cpanm MD5Check 安装。 $ perl -MMD5Check -e 'md5init("/web")' >file $ perl -MMD5Check -e 'md5check(file)' =head1 DESCRIPTION MD5Check - Use it for init Web files's md5 values of your site(or other dir), and check if it changed. MD5Check is not standardized. This module is far from complete. =head2 IMPLEMENTATION use MD5Check; my $mydir=shift; md5init($mydir); use MD5Check; my $mydir=shift; md5check($mydir); =head1 Git repo L<http://github.com/a3f/MD5Check> =head1 AUTHOR orange C<< <linzhe@ijz.me> >>, L<http://ijz.me> =head1 COPYRIGHT AND LICENSE Copyright (C) 2016 linzhe This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut