64-bit string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daChf
    New Member
    • Mar 2008
    • 8

    #1

    64-bit string

    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.
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    What have you tried that you were not successful at? Please post your sample code between the [CODE][/CODE] tags.

    --Kevin

    Comment

    • daChf
      New Member
      • Mar 2008
      • 8

      #3
      I've tried a number of things. Among them are:

      Code:
      @array = vec($string, 0, 64);
      and

      Code:
      @array = pack('q', $string);
      The 'pack' didn't recognize the 'q', and I'm using Perl v5.10.0.

      Comment

      Working...