Help for this page
$function = Win32::API->new('NSLClientLibrary', 'XYZDecrypt', 'PPP', ' +I'); ... $value =~ s!\0.*!!; # we assume that the first \0 returned indicat +es end of the string return $value };