Could not connect to SMTP server using Mail::Sender - Revised

2003-03-12 Thread Sidhartha Priye \(local\)
Hi everyone, MY perl application sits on Windows 2000 IIS 5.0 server and is called when a client submits a HTML form. This perl program needs to generate an email containing form information. My perl program fails to do so. Also I am not sure why it fails to connect to the SMTP

RE: Upgraded, downgraded, PPM version problems

2003-03-12 Thread Alain Brasseur
For the DBD::mysql problem, it didn't take long to find numerous posts referring to the PPM repository at uwinnipeg.ca that the author of DBD-mysql hosts with the module for 5.8, but even after I ran the PPM install for it and added c:\mysql\bin\opt to my PATH, I still had problems. For

RE: Need help with what should be simple math

2003-03-12 Thread Ron Hartikka
Title: RE: Need help with what should be simple math And what if I want to store it on a variable. Maybe I missed something while explaining. I will reformat this number later on with a function that takes the value as a string to cut it off and reformat it. So how can I store the value of

RE: 5.8 and missing modules

2003-03-12 Thread Jochen Wiedmann
Quoting Jeff Urlwin [EMAIL PROTECTED]: a) the lack of RESPONSE to my questions about PPM/repository historically (ref my post to this list and a few direct e-mails with *no* response. Jeff, it is worth mentioning, that I shared your experience when contacting the official email

RE: getting directory size

2003-03-12 Thread Palmore, John
I want to thank everyone for such an interesting and insightful discussion. I learned a few new perl tricks thanks especially to the Perl Golfers. I'm the dope that posted the Archive::Zip proposal. After reading the numerous suggestions I couldn't resist benchmarking some of the suggestions.

PERL/PHP, MSSQL, Unix AIX

2003-03-12 Thread Poon, Kelvin \(Infomart\)
Hi, I got a little project and I need to come up with a solution on how to finish it and was hoping if you guys can give me any ideas. I have a PERL script on a Unix AIX machine that checks for incoming update of data. Specificly what it does is, when it runs, it will look at the corresponding

system STDOUT capture

2003-03-12 Thread Markham, Richard
Title: system STDOUT capture I'm having trouble figuring out how I can capture the STDOUT from a system function call into an array? example: output from the unix ps command put into array. system 'ps','-ef' ?

Re: emulating C lang static / placement of subs

2003-03-12 Thread Joshua b. Jore/IT/Imation
You could do something uglier and generate the subroutines as closure wrappers. I think your code has a bug as well - you wrote 'off' as '0' but 'not 1' is an empty string, not '0'. I fixed toggle for you but otherwise wrote everything else the same. If you want to retro-actively fix the normal

Re: Could not connect to SMTP server using Mail::Sender - Revised

2003-03-12 Thread Jenda Krynicky
From: Sidhartha Priye \(local\) [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject:Could not connect to SMTP server using Mail::Sender - Revised Date sent: Wed, 5 Feb 2003 13:30:23 -0500 What's this? Why did I get

RE: Win32::AdminMisc::LogonAsUser

2003-03-12 Thread Gould, Kevin
Note that there are TWO accounts to consider privileges on. - the source account, which needs the indicated rights of the replace process token, bypass traverse checking, and act as part of the operating system. - the destination account, which needs to be granted the appropriate logon type

FW: system STDOUT capture

2003-03-12 Thread Markham, Richard
Title: Message hmm looks like my @output = `ps -ef`; is perfect for whatI want. -Original Message-From: Markham, Richard [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 11:45 AMTo: '[EMAIL PROTECTED]'Subject: system STDOUT capture I'm having trouble

RE: system STDOUT capture

2003-03-12 Thread brianr
Markham, Richard writes: I'm having trouble figuring out how I can capture the STDOUT from a system function call into an array? example: output from the unix ps command put into array. system 'ps','-ef' my @ps_output = `ps -ef`; Documented in 'perldoc perlop' under quote-like

RE: system STDOUT capture

2003-03-12 Thread Wayne Simmons
-Original Message- From: Markham, Richard [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:45 AM To: '[EMAIL PROTECTED]' Subject: system STDOUT capture I'm having trouble figuring out how I can capture the STDOUT from a system function call into an array? example:  output

Re: Could not connect to SMTP server using Mail::Sender - Revised

2003-03-12 Thread brianr
Jenda Krynicky writes: From:Sidhartha Priye \(local\) [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Could not connect to SMTP server using Mail::Sender - Revised Date sent: Wed, 5 Feb 2003 13:30:23 -0500

RE: emulating C lang static / placement of subs

2003-03-12 Thread Arnold, Craig
This should give you what I think you're looking for: #!perl -w use strict; print state(); # the main BEGIN { my $state = -1 ; sub on { $state = 1 } sub off{ $state = 0 } sub toggle { $state = !$state } sub state { return $state } } hth, Craig Arnold -Original

RE: system STDOUT capture

2003-03-12 Thread Markham, Richard
Title: RE: system STDOUT capture I am working on the issue with plain text by getting a new, separate POP3, account. My work server is Exchange 5.5 and Outlook and setting 'plain text' in the emails still implies HTML encoding. I apologize. -Original Message- From: [EMAIL