my $signature = getSignatures($privateKey, $binarySecurityToken, $time+stamp, $content); #==here it's getSignatures print $signature; #### sub getSignature($$) #==here it's getSignature {