Autocompletion in Perl ( Win 32 )

2002-06-06 Thread ponnam . balam
Dear Carl, I can do this in UNIX ( using Perl). But now i want the Windows eqvt perl module. Please see the following code ( that i used for UNIX ). UNIX - Perl CODE: use Term::Complete ; @completion_list = ("Pons","arunram"); $input = Complete('prompt_str

Parsing Mime emails and Mail::Pop3Client

2002-06-06 Thread desarrollo
Hi! I'm writing a script that retrieves email from POP3 servers using Mail::Pop3. The hard thing to do is when the message is mime type with attachments. It is real dificult to parse them. There's always one email message that gives trouble. Or I dont get the attachment, or if charset changes the

[OLE] Scheduled task fails

2002-06-06 Thread Scott Lamb
I've got a script that populates objects on an Exchange server by automating MS Outlook through Win32::OLE. When I run it interactively, it works fine. When I run it as a scheduled task at night, it fails. I get an error like this in my event log: Win32::OLE(0.1502) error 0x80040102: "Invali

use lib failing on IIs

2002-06-06 Thread Norris, Joseph
Group, I got all my stuff run on my local box with perl/apache/mysql and then I went to move everything to the main IIs server. However. when I ran my scripts that worked before in the same directory structure on my local box I got the following: Can't locate STDLIB.pm in @INC (@INC contains

Re: Win32::API and GetOpenFileName

2002-06-06 Thread $Bill Luebkert
Dax T. Games wrote: > Wow! Did you do all that for me or is this something you have had lying around? > > That is a lot of code. > > I love this list, thanks for the help. I had saved a non-working version from somewhere and modified it for you last night and added a few things. -- ,-/

RE: eval expression and NT-W2K security

2002-06-06 Thread kbatzer
Thanks for your replies. Your points are well taken, and that's exactly why I posted the question. I was wondering there might be other ideas taking a similar approach, yet providing a security blanket to guard against misbehaved users. I've ruled out using a regular expr to filter the 'user's

Re: Win32::API and GetOpenFileName

2002-06-06 Thread Dax T. Games
Wow! Did you do all that for me or is this something you have had lying around? That is a lot of code. I love this list, thanks for the help. Dax *** REPLY SEPARATOR *** On 6/5/2002 at 11:56 PM $Bill Luebkert wrote: >Dax T. Games wrote: > >> Anyone been able to import the Ge

RE: Win32::API and GetOpenFileName

2002-06-06 Thread Dax T. Games
Brad, You are correct. It is on what I asked but it does 'Exactly' what I wanted to do with Win32::API! Thanks much, you just saved me a lot of time. Dax *** REPLY SEPARATOR *** On 6/6/2002 at 8:27 AM Warkentin, Brad wrote: >Dax T. Games [mailto:[EMAIL PROTECTED]] wrote: >

Re: Send email in ActivePerl using SMTP

2002-06-06 Thread Martin Moss
When you make your call to Net::SMTP->new you should test the object returned. I believe that if you have errors or there are problems with configuration information you send to Net::SMTP (could be network problems etc.) the Net::SMTP object will return (undef). (check the docs to confirm, it may

Re: Send email in ActivePerl using SMTP

2002-06-06 Thread Jenda Krynicky
From: [EMAIL PROTECTED] > I tried the following to use SMTP to send email: > >use Net::SMTP; >$optServer = 'luxn.com'; >$optFrom = "[EMAIL PROTECTED]"; >$optTo = "[EMAIL PROTECTED]"; >$smtp = Net::SMTP -> new ("luxn.com"); >$smtp -> mail($optFrom); > ... > > It say: > >

Re: compiling perl scripts into EXE and then using the exe through apache

2002-06-06 Thread Johan Lindstrom
At 16:47 2002-06-06 -0400, Carl Jolley wrote: > > It won't make things much faster. It will make for some bloated .exe > > files. Learning to use mod_perl might get your the performance you > > desire. Have you read this article: > > > > http://www.perl.com/pub/a/2001/06/27/ctoperl.html > > > >I

RE: Send email in ActivePerl using SMTP

2002-06-06 Thread Morse, Richard E.
$Bill Luebkert [mailto:[EMAIL PROTECTED]] wrote: > [EMAIL PROTECTED] wrote: > > > I tried the following to use SMTP to send email: > >$smtp = Net::SMTP -> new ("luxn.com"); > >$smtp -> mail($optFrom); > > > > Can't call method "mail" on an undefined value at > > mailtest.pl line 8 > >

Re: Send email in ActivePerl using SMTP

2002-06-06 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > I tried the following to use SMTP to send email: > > >use Net::SMTP; >$optServer = 'luxn.com'; >$optFrom = "[EMAIL PROTECTED]"; >$optTo = "[EMAIL PROTECTED]"; >$smtp = Net::SMTP -> new ("luxn.com"); >$smtp -> mail($optFrom); >$smtp -> to ($

FTP Connection Problem

2002-06-06 Thread Huber. John \(PWA\)
Title: FTP Connection Problem I'm trying to establish an FTP connection with the "context" set to 1, so I can use "GetStatusCallback()" to monitor the connection. I pieced together the following code from the "Internet.pm" documentation. When I run the script, no FTP connect is established a

Re: compiling perl scripts into EXE and then using the exe throughapache

2002-06-06 Thread Carl Jolley
On Thu, 6 Jun 2002, Ron Grabowski wrote: > > I want to precompile a perl script into an exe, and then use those exe's > > through apache as if they were normal .cgi .pl scripts. > > Can this be done, and if so how? > > It won't make things much faster. It will make for some bloated .exe > files.

[OLE] Scheduled task fails

2002-06-06 Thread Scott Lamb
I've got a script that populates objects on an Exchange server by automating MS Outlook through Win32::OLE. When I run it interactively, it works fine. When I run it as a scheduled task at night, it fails. I get an error like this in my event log: Win32::OLE(0.1502) error 0x80040102: "Invali

ppm3 does not work with Build 632

2002-06-06 Thread Fritz Binder
After installing Build 632 over Build 631 I get the following errormessage when starting ppm3 Panic: Can't find bfs section What am I doing worng? Is there a Solution? Thanks for an help Fritz Binder ___ Perl-Win32-Users mailing list [EMAIL PROTECTE

Win32::OLE help

2002-06-06 Thread parvez
Hi Perl Gurus I'm facing a problem. I'm using Win32::OLE and my code goes something like this some code here Win32::OLE->Option(Warn => sub {goto CheckError}); ## some other code here for(;;) { ### more boring lines of code in between here CheckError: { print LOG

Re: Win32::API and GetOpenFileName

2002-06-06 Thread csaba . raduly
On 06/06/2002 00:42:42 Dax T Games wrote: >Anyone been able to import the GetOpenFileName API from comdlg32.dll. > >So I don't need to reinvent the wheel? I have been trying but have had no >success. > GetOpenFileName puts up a dialog box. You might need a message loop. (I think Perl.exe is a