Re: How to set a proxy server.

2009-10-20 Thread Majian
Dear list: I have a question on learning Perl . Please give me a help . The problem is : How can I split a string into chunks of size n bytes?Like this : #!/usr/bin/perl my $string = 1234567890abcdefghijABCDEFGHIJK; my $n = 2;# $n is group size. my @groups = unpack a$n x (length(

Re: How to set a proxy server.

2009-10-20 Thread Jim Gibson
At 9:35 AM +0800 10/21/09, Majian wrote: Dear list: I have a question on learning Perl . Please give me a help . The problem is : How can I split a string into chunks of size n bytes?Like this : #!/usr/bin/perl my $string = 1234567890abcdefghijABCDEFGHIJK; my $n = 2;# $n is group

Re: How to set a proxy server.

2009-10-20 Thread John W. Krahn
Majian wrote: Dear list: Hello, I have a question on learning Perl . Please give me a help . The problem is : How can I split a string into chunks of size n bytes?Like this : #!/usr/bin/perl my $string = 1234567890abcdefghijABCDEFGHIJK; my $n = 2;# $n is group size. my @groups =

How to set a proxy server.

2009-10-19 Thread Rob Coops
Dear list, I have the following bit of code: use strict; use warnings; use XML::Compile::WSDL11; use XML::Compile::SOAP11; use XML::Compile::Transport::SOAPHTTP; my $wsdl = XML::Compile::WSDL11-new('checkPort.wsdl'); my $checkVat = $wsdl-compileClient('checkVat'); my %request = ( countryCode =