Win32 Environment Variable Read-only?

2006-02-03 Thread L. Neil Johnson
Using AS Perl 5.8.7 under W98SE, the PATH environment variable is displayed, then assigned a new value; but the new value doesn't propagate back to the MS-DOS %PATH% variable. Are the %ENV values read-only? C:\Programs\PERLSET ...

Re: Win32 Environment Variable Read-only?

2006-02-03 Thread Alexander Apprich
L. Neil Johnson wrote: Using AS Perl 5.8.7 under W98SE, the PATH environment variable is displayed, then assigned a new value; but the new value doesn't propagate back to the MS-DOS %PATH% variable. Are the %ENV values read-only? C:\Programs\PERLSET ...

Re: Win32 Environment Variable Read-only?

2006-02-03 Thread $Bill Luebkert
L. Neil Johnson wrote: Using AS Perl 5.8.7 under W98SE, the PATH environment variable is displayed, then assigned a new value; but the new value doesn't propagate back to the MS-DOS %PATH% variable. Are the %ENV values read-only? Basically you can only change the env vrbls for the current

Net::SMTP Question

2006-02-03 Thread Dirk Bremer
I have a need to send multiple email messages within a single instance of a program. I have a problem where the first composed email message is sent (and received) okay, while the subsequent messages are not. The code is similar to this: use Net::SMTP; $smtp = Net::SMTP-new('mailhost');

logging IPs

2006-02-03 Thread Adam Peterson
hi, i have a cgi script that i would like to add some logging to. i would like to log the ip of those using it. is there an easy way to capture this? i know i can look at the server logs but i'd like to be able to log the script inputs and ip of the requestor. any help and example code is

Re: Net::SMTP Question

2006-02-03 Thread DZ-Jay
Dirk Bremer wrote: Note the loop as shown above. What am I doing wrong? Do I need to create a new SMTP object for each message? You have to start each message transaction with the MAIL FROM SMTP command (i.e. $smtp-mail() ). You do not need to reconnect unless the server kicks you out

RE: :SMTP Question

2006-02-03 Thread Hill, David K
I believe you need to re-create the object for each message You are opening a connection, then you quit the connection then every subsequent message is sent to the bit bucket. Personally I would create a connection to the email server, send you email, quite that session then start again with

RE: logging IPs

2006-02-03 Thread Chris
hi, i have a cgi script that i would like to add some logging to. i would like to log the ip of those using it. is there an easy way to capture this? i know i can look at the server logs but i'd like to be able to log the script inputs and ip of the requestor. any help and example code is

RE: :SMTP Question

2006-02-03 Thread Chris
Dirk Bremer wrote: I have a need to send multiple email messages within a single instance of a program. I have a problem where the first composed email message is sent (and received) okay, while the subsequent messages are not. The code is similar to this: use Net::SMTP; $smtp =

RE: Net::SMTP Question

2006-02-03 Thread Dirk Bremer
Dirk Bremer wrote: Note the loop as shown above. What am I doing wrong? Do I need to create a new SMTP object for each message? You have to start each message transaction with the MAIL FROM SMTP command (i.e. $smtp-mail() ). You do not need to reconnect unless the server kicks

Re: Win32 Environment Variable Read-only?

2006-02-03 Thread Chris Wagner
At 04:54 AM 2/3/2006 -0700, [EMAIL PROTECTED] wrote: Using AS Perl 5.8.7 under W98SE, the PATH environment variable is displayed, then assigned a new value; but the new value doesn't propagate back to the MS-DOS %PATH% variable. Are the %ENV values read-only? A child process can't change the