in reply to Re: MD5 and SHA Hashes
in thread MD5 and SHA Hashes

You don't even need Perl for this:

$ md5sum * >md5sums.txt

Substitute sha1sum (or any member of the sha*sum family) for md5sum as desired.