RE: HTML::Parser

2003-10-16 Thread Noushad Dawood
<[EMAIL PROTECTED] To: Noushad Dawood/ITDep/ADIA/[EMAIL PROTECTED], .net> <[EMAIL PROTECTED]>

HTML::Parser

2003-10-16 Thread Noushad Dawood
I don't know why this error still comes up? I got all these files properly installed in my perl lib directory. I'm stuck with this. Can some one help me resolve this please? Thanks and regards, /nd Can't locate loadable object for module HTML::Parser in @INC (@INC contains: c:/perl/5.6.1/lib c:/p

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 = $ua->req

Re: Date conversion

2003-09-29 Thread Noushad Dawood
bkert" <[EMAIL PROTECTED] To: Noushad Dawood/ITDep/ADIA/[EMAIL PROTECTED] .net>cc:

Sybperl

2003-09-29 Thread Noushad Dawood
I'm trying to access sybase using the following script use Sybase::CTlib; $dbh = new Sybase::CTlib 'user', 'password', 'SERVERNAME'; $dbh->ct_execute("select $uid, name from sysusers"); while($dbh->ct_results($restype) == CS_SUCCEED) { next unless $dbh->ct_fetchable($restype); while((

Date conversion

2003-09-28 Thread Noushad Dawood
Friends...need help on converting a date read from csv file. What i need is to convert 20-Sep-03 to 20030920. Is there any function to do this? Regards, /nd ** The contents of this mail are personal opinions of the Author. A

To enhance read directory script

2003-09-25 Thread Noushad Dawood
This simple code works fine to get all the file names from the folder specified. @dir_contents; $dir_to_open="c:\\mydir\\mysubdir"; opendir(DIR,$dir_to_open) || die("Cannot open directory !\n"); @dir_contents= readdir(DIR); closedir(DIR); Now I want to enhance the script to handle the following:

Re: Automate data download from internet

2003-09-24 Thread Noushad Dawood
To: <[EMAIL PROTECTED]> | | cc: (bcc: Noushad Dawood/ITDep/ADIA/ae) | | Subject: Re:

Re: Automate data download from internet

2003-09-24 Thread Noushad Dawood
/2003 05:12 PM | |-+---> >--| | | | To: Noushad Dawood/ITDep/ADIA/[EMAIL PROTECTED], <[EMAIL PROTECTED]> | | cc: | | Subject: Re: Automate d

RE: Read a text file and parse values

2003-09-19 Thread Noushad Dawood
| | To: [EMAIL PROTECTED] | | cc: (bcc: Noushad Dawood/ITDep/ADIA/ae) | | Subject: RE: Read a text file a

Read a text file and parse values

2003-09-18 Thread Noushad Dawood
Friends, I got a text file that contains a list of computer names. I need to write a program that will read this file and execute following command for each computer name: exec \\ -u abc -p xxx abc.bat where is picked up from the text file. Can some one help me on this? Many thanks in a