in reply to Single Quote string with Variable

Why are you shelling out from Perl to call another Perl-Script, instead of use Digest::SHA ?

For variable interpolation you need qq which is the equivalent of double-quotes "..."

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery