Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/CRC-32/Perl/crc-32.pl
Normal file
9
Task/CRC-32/Perl/crc-32.pl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/perl
|
||||
use 5.010 ;
|
||||
use strict ;
|
||||
use warnings ;
|
||||
use Digest::CRC qw( crc32 ) ;
|
||||
|
||||
my $crc = Digest::CRC->new( type => "crc32" ) ;
|
||||
$crc->add ( "The quick brown fox jumps over the lazy dog" ) ;
|
||||
say "The checksum is " . $crc->hexdigest( ) ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue