activation

2005-03-04 Thread Morad M. Shihdeh
[EMAIL PROTECTED] ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: (no subject)

2005-03-04 Thread Peter Guzis
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 seriou

(no subject)

2005-03-04 Thread Ted Yu
> 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");> > $f

RE: m// and pos functionality

2005-03-04 Thread Adam R. Frielink
> 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. $maphas

RE: m// and pos functionality

2005-03-04 Thread Chris Wagner
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

RE: m// and pos functionality

2005-03-04 Thread Adam R. Frielink
> -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

Re: m// and pos functionality

2005-03-04 Thread Chris Wagner
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) {

Re: m// and pos functionality

2005-03-04 Thread Chris Wagner
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 ___ Perl-Wi

Re: m// and pos functionality

2005-03-04 Thread $Bill Luebkert
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

m// and pos functionality

2005-03-04 Thread Adam R. Frielink
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 '

Re[2]:(no subject)Threads

2005-03-04 Thread Сергей Черниенко
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

RE: (no subject)

2005-03-04 Thread John Serink
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:3