var sha = frequire('Digest::SHA'); say sha.sha1_hex('Rosetta Code');