Why should I specify a use statement when using the say
function?
use strict;
use warnings;
use 5.016;
//or: use feature qw(say);
my $str = "42dc3f74212c4e74bab2";
$str =~ s/(..)/chr(hex($1))/eg; #hex() -> convert hex string to decimal number, chr() -> convert decimal number to a character(string).
say $str;