It doesn't cause any problem
But you 'may' want to wait till your threads are done
You can either detach or join to do so.
Cheers,
John
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Cherniyenko
Sent: Friday, March 04, 2005 3:36 PM
Hello John,
Friday, March 04, 2005, 10:01:03 AM, You wrote:
JS It doesn't cause any problem
JS But you 'may' want to wait till your threads are done
JS You can either detach or join to do so.
JS Cheers,
JS John
In fact I 'want' to wait for second thread are done. But it is GUI app
and
I am working on a function to handle some character mapping to an
encoded set of bytes. I need to be able to encode and decode. Encoding
the values works perfectly. Decoding is my problem.
I originally was trying to use pattern matching to find the position of
the encoded and then do a simple
Adam R. Frielink wrote:
I am working on a function to handle some character mapping to an
encoded set of bytes. I need to be able to encode and decode. Encoding
the values works perfectly. Decoding is my problem.
I originally was trying to use pattern matching to find the position of
I'm not really sure what you're trying to do here. Change a string into an
ord() string? And then change back to the original string with chr()?
--
REMEMBER THE WORLD TRADE CENTER ---= WTC 911 =--
...ne cede males
0100
___
I think u want this:
$string = abc;
sub encode {
foreach $i (split //, $string) {
push @encoded, sprintf(%3.3d, ord($i));
}
$encodedstring = join , @encoded;
}
sub decode {
@chrs = $encodedstring =~ m/(\d\d\d)/g;
foreach $i (@chrs) {
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 9:48 AM
To: Adam R. Frielink
Cc: Perl-Win32-Users@listserv.ActiveState.com
Subject: Re: m// and pos functionality
Adam R. Frielink wrote:
I am working on a function to handle
At 10:40 AM 3/4/05 -0600, Adam R. Frielink wrote:
Well, all the sample data I have contains unprintable/graphics characters.
The project scope is to connect to Vital's Credit Card processing
facilities. I collect a string from my client's datafiles, convert that
string to 7bit, connect via SSL to
So what u really need to do here is MIME decode/encode a
string with ur own code?
Yes
If $cnvstr represents the mapping to and from the
encoded version,
it's better to do that with a hash. The key will be the
character and the
value will be it's decimal/encoded value. $maphash{$a}
Hi there: I'm having a serious problem with the FTP function for Active State Perl. The code I am using is as follows: $ftp = Net::FTP-new("$ftp_server_name", Debug = 0) || server_error; $ftp-login("$ftp_user","$ftp_pass"); $ftp-type("A"); $ftp-put("$upload_filename"); $ftp-quit; It is
Replace $ftp-type ("A") with
$ftp-binary.
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of
Ted YuSent: Friday, March 04, 2005 2:44 PMTo:
perl-win32-users@listserv.ActiveState.comSubject: (no
subject)
Hi there: I'm having a serious
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
12 matches
Mail list logo