Re: need an easy run-time conditional stmt for 'use Net::SMTP' ...

2000-05-19 Thread John Green
Bob, Try: if ($^O eq 'MSWin32') { require 'Net::SMTP.pm'; Net::SMTP->import(); } This is essentialy what 'use Net::SMTP' does, but 'require' is performed at runtime, while 'use' is performed at compile time. John On Thu, May 18, 2000

Re: need an easy run-time conditional stmt for 'use Net::SMTP' ...

2000-05-18 Thread Douglas Wilson
On 05/18/00, "Bob Hoffmaster <[EMAIL PROTECTED]>" wrote: > Is there an quick/simple/easy way to construct a run-time conditional > "include" statement to use or not use a particular module? Yes, perldoc -f use HTH, Douglas Wilson --- You are currently subscribed to perl-win32-users as: [archive@

RE: need an easy run-time conditional stmt for 'use Net::SMTP' ...

2000-05-18 Thread Joe Schell
If you don't want it loaded you have to wrap the use statement in an eval. > Behalf Of Bob Hoffmaster > > > Is there an quick/simple/easy way to construct a run-time conditional > "include" statement to use or not use a particular module? > > I want to use

need an easy run-time conditional stmt for 'use Net::SMTP' ...

2000-05-18 Thread Bob Hoffmaster
Is there an quick/simple/easy way to construct a run-time conditional "include" statement to use or not use a particular module? I want to use the Net:::SMTP module if running on a NT system, else don't use if on a UNIX system. something like this: if (

Re: Net::SMTP

2000-05-17 Thread David S. Rosinger
Hung-Hsien Chang <[EMAIL PROTECTED]> writes: > Does it work ? Net::SMTP on NT machine or Wind 95? If your Win32 machine has access to a machine running an SMTP server, Net::SMTP works. --David --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe

Net::SMTP

2000-05-16 Thread Hung-Hsien Chang
Does it work ? Net::SMTP on NT machine or Wind 95? Has anything tried it yet? ( I am using solaris so...) Thankyou. All the best, Hubert --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non

RE: Assistance With Net::SMTP V2

2000-05-09 Thread Thomas_M
Scott K Purcell [mailto:[EMAIL PROTECTED]] wrote: > Sent: Tuesday, May 09, 2000 4:53 AM > To: Perl-Win32-Users Mailing List > Subject: Assistance With Net::SMTP V2 > > > Hello, > I am considering using the Net::SMTP module. > > I did the examples in the POD, and ca

Assistance With Net::SMTP V2

2000-05-09 Thread Scott K Purcell
Hello, I am considering using the Net::SMTP module. I did the examples in the POD, and can send a email to myself. Except for I can't figure out how to get a "subject line", or a "proper from line" or even an attachment. Anyway, the documentation is vague (at least to

Re: Help please: I want to send myself an email with (or without) Net ::SMTP::Server from an NT 4 workstation

2000-05-06 Thread Oliver Manickum
- Original Message - From: <[EMAIL PROTECTED]> To: "Perl-Win32-Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, May 05, 2000 8:32 PM Subject: Help please: I want to send myself an email with (or without) Net ::SMTP::Server from an NT 4 workstation > > &g

Help please: I want to send myself an email with (or without) Net ::SMTP::Server from an NT 4 workstation

2000-05-05 Thread Charles . Boyce
I want to send myself an email with (or without) Net::SMTP::Server from an NT 4 workstation. I have the module (and it's dependent modules installed, but I can't get it to work Info about Net::SMTP::Server is located at http://www.macgyver.org/software/p