By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,245 Members | 1,241 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,245 IT Pros & Developers. It's quick & easy.

64-bit string

P: 8
I'm trying to use a SOAP Lite web service. In one of the function calls, a parameter must be a string converted to a 64-bit binary array. I can't seem to convert the string.
Mar 4 '08 #1
Share this Question
Share on Google+
2 Replies


eWish
Expert 100+
P: 971
What have you tried that you were not successful at? Please post your sample code between the [CODE][/CODE] tags.

--Kevin
Mar 4 '08 #2

P: 8
I've tried a number of things. Among them are:

Expand|Select|Wrap|Line Numbers
  1. @array = vec($string, 0, 64);
  2.  
and

Expand|Select|Wrap|Line Numbers
  1. @array = pack('q', $string);
  2.  
The 'pack' didn't recognize the 'q', and I'm using Perl v5.10.0.
Mar 4 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.