In hope that someone might know this, i am using WWW::Curl and when setting one of the options, CURLOPT_KEYPASSWD, it expects to as stated in the manual the following : "Pass a pointer to a zero terminated string as parameter". I am assuming that since a Data pointer to a string is the equivalent of passing a string, that i need to pass a 0 terminated string as a parameter, or a pointer to one. Any ideas as to how i could create such a string?