CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Base64 binary string

 



daChf
Novice

Mar 4, 2008, 11:29 AM

Post #1 of 1 (1066 views)
Base64 binary string Can't Post

I'm porting some C# code to Perl. In the C# code, a string is converted to a byte array and sent to a WebService expecting a parameter of type 'base64Binary'.

I've tried

Code
 pack('q', $string)

but it doesn't recognize the 'q' template. I've also tried

Code
 vec($string, 0, 64)

but that doesn't work either.

Any help would be appreciated.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives