https request

2003-10-15 Thread Noushad Dawood
Friends, I need to download files from an https site on a daily basis. Here is the script I started with. #! /usr/local/bin/perl5 use LWP::UserAgent; use LWP::Protocol::https; my $ua = LWP::UserAgent-new; my $req = HTTP::Request-new(GET ='https://somesite.com/somefile.csv'); my $res =

Outlook like behaviour.

2003-10-15 Thread NPopovici
Title: Outlook like behaviour. Hello to all, I want to read the new emails from my inbox ( which I already do ) but now I would like to have my script running as a daemon. I do not like the ideea of using the following code while ( true ) { sleep(20); #do stuff here } I am using

Re: https request

2003-10-15 Thread Sisyphus
Noushad Dawood wrote: Can't locate loadable object for module HTML::Parser in @INC (@INC contains This is telling you that 'Parser.dll', which should be in your perl\site\lib\auto\HTML\ folder cannot be found. Sounds like HTML::Parser has not been installed correctly. Best solution is to

Re: https request

2003-10-15 Thread Sisyphus
Sisyphus wrote: perl\site\lib\auto\HTML\ folder cannot be found. should read 'perl\site\lib\auto\HTML\Parser folder'. Cheers, Rob -- Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide

Environment variables

2003-10-15 Thread Jangale V-S SPEL-TIT
Dear All, I have a perl script in which calls and exe file using system command. system(test.exe); This exe file in turn calls another perl script located in fixed directory, say , c:\temp\test1.cmd. In the process, several environment variables %ENV are defined in exe file and called perl

RE: Exiting find file function

2003-10-15 Thread Strohmaier, Thomas
Hi Danny, perhaps you should use the preprocess function of file::find. Only directory entries you give back are seen by wanted() and are recursively scanned. -Original Message- From: Wong, Danny H. [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:09 PM To: [EMAIL

RE: Outlook like behaviour.

2003-10-15 Thread Eli Jehoel
Title: Message Wow, this is exactly the thing I was planning on asking questions about! -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: woensdag 15 oktober 2003 9:55To: [EMAIL PROTECTED]Subject: Outlook like

Something like HTML::Entities for Latin Extended-A?

2003-10-15 Thread Andreas Bargstädt
HTML::Entities only works for Latin-1 characters. I need to decode HTML-entities for Czech special characters (Latin Extended-A) like #X159; or #382;. Is there a module capable of this? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

Hash matching question.

2003-10-15 Thread Beckett Richard-qswi266
Guys, I'm scanning a text file, which has lines like this: FirstPlace = 10 SecondPlace = 6 ThirdPlace = 4 FourthPlace = 3 FifthPlace = 2 SixthPlace = 1 SeventhPlace = 0 EightPlace = 0 they are lines 35..42. If the points go 10,6,4,3,2,1, I want to set a var to 0, and if they go

Re: Environment variables

2003-10-15 Thread Sisyphus
Jangale V-S SPEL-TIT wrote: Now in the parent script when system command finishes, all the newly defined environment variables (%ENV s) in test.exe and test1.cmd are lost ! Maybe I don't understand - or maybe I am just simply wrong - but the system() command won't finish until 'test.exe' has

FW: Environment variables

2003-10-15 Thread Jangale V-S SPEL-TIT
Thanks Justin for the info, But I already know this ! Environment variables are inherited from parent to child scripts/programs ! But I want to get ENV variables which were defined by child programs back into parent program for further processing ! e.g. PARENT program parent.cmd

Re: Environment variables

2003-10-15 Thread $Bill Luebkert
Jangale V-S SPEL-TIT wrote: Dear All, I have a perl script in which calls and exe file using system command. system(test.exe); This exe file in turn calls another perl script located in fixed directory, say , c:\temp\test1.cmd. In the process, several environment variables %ENV are

RE: Crypt:SSLeay

2003-10-15 Thread Briggs, Larry
I am trying to set up a SOAP call that requires me to use https. And I was told to get soap to work using https that I needed Crypt::SSLeay. I will take a look at your patch because the way it sounds it my be all I need thanks. -Original Message- From: Johnny Lee [mailto:[EMAIL

RE: crypt-SSLeay

2003-10-15 Thread Briggs, Larry
I have tried the ppmpackages link and I still get can not locate ppd file for Crypt_SSLeay. -Original Message- From: Sisyphus [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 6:40 PM To: Briggs, Larry Cc: [EMAIL PROTECTED] Subject: Re: crypt-SSLeay Briggs, Larry wrote: I have

RE: crypt-SSLeay

2003-10-15 Thread Briggs, Larry
I have always been able to access the site by using my browser. That was one of the first things that I checked. -Original Message- From: Briggs, Larry Sent: Wednesday, October 15, 2003 6:45 AM To: 'Sisyphus'; Briggs, Larry Cc: [EMAIL PROTECTED] Subject: RE: crypt-SSLeay I have tried

Re: Hash matching question.

2003-10-15 Thread $Bill Luebkert
Beckett Richard-qswi266 wrote: Guys, I'm scanning a text file, which has lines like this: FirstPlace = 10 SecondPlace = 6 ThirdPlace = 4 FourthPlace = 3 FifthPlace = 2 SixthPlace = 1 SeventhPlace = 0 EightPlace = 0 they are lines 35..42. If the points go 10,6,4,3,2,1, I

DBI on microsoft

2003-10-15 Thread Mundell, R. (Ronald)
Good Day All Does anyone knows how to get DBI working on Microsoft or where I can get a copy of it for MS Thanks Ronald Mundell This email and any accompanying attachments may contain confidential and proprietary information. This information is private and protected

Fwd: Re: Environment variables

2003-10-15 Thread Michael D. Smith
Maybe I don't understand - or maybe I am just simply wrong - but the system() command won't finish until 'test.exe' has finished - so the loss of the env vars won't matter, will it ? It can be made to work either way. system ('notepad.exe'); Doesn't return until notepad is closed. system

RE: Hash matching question.

2003-10-15 Thread Peter Eisengrein
Title: RE: Hash matching question. If they are lines 35-42, shouldn't you use $array[34..41] since arrays start at zero? -Original Message- From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 15, 2003 5:59 AM To: '[EMAIL PROTECTED]' Subject: Hash

RE: DBI on microsoft

2003-10-15 Thread Lee Goddard
Sorry about the HTML : I didn't start it. DBI is just a Data-Base Interface: you need to know what database you have, then get a Data-Base Driver (DBD) module for it from CPAN. On Windows, try ppm DBD::xxx where xxx si the database name. Like, what database are you using? You might find

RE: converting files (text)

2003-10-15 Thread Lee Goddard
| Are there any module(s) that would allow me to convert | plain text, rtf, Star Office, Microsoft, etc files | from one format to another via scripting? There are at least some to allow you to manipulate them: try typing the file type (rtf, html) into search.cpan.org. | What I would like to do

Please help

2003-10-15 Thread Mohanty, Debi (MED, TCS)
Hi, I am using the Mail::IMAPClient to connect to the exchan... and specifying the below code to kill the process if the E... is not running. But still my process get hunged and it goe... if my Exchange server is not running. Plese suggest me what to do. use Mail::IMAPClient; # IMAP

Please help- IMAP

2003-10-15 Thread Mohanty, Debi (MED, TCS)
Hi, I am using the "Mail::IMAPClient" to connect to the exchan... and specifying the below code to kill the process if the E... is not running. But still my process get hunged and it goe... if my Exchange server is not running. Plese suggest me what to do. use Mail::IMAPClient; # IMAP

RE: Hash matching question.

2003-10-15 Thread Moon, John
Try .. perl -e '@a=(1,2,3); print Found !\n if @a[0..$#a] eq (1, 2, 3);' # @a not $a ... hope this helps jwm -Original Message- From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED] Sent: October 15, 2003 05:59 To: '[EMAIL PROTECTED]' Subject: Hash matching question. Guys, I'm