RE: string seperated by multiple spaces

2004-06-28 Thread Naser Ali
age- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 1:05 PM To: Naser Ali Cc: Perl Beginners Subject: Re: string seperated by multiple spaces On Jun 28, 2004, at 11:55 AM, Naser Ali wrote: > But on the other hand there are people on the list like "Mr. Jame

RE: string seperated by multiple spaces

2004-06-28 Thread Naser Ali
EMAIL PROTECTED] Sent: Monday, June 28, 2004 12:39 PM To: 'Naser Ali'; [EMAIL PROTECTED] Subject: RE: string seperated by multiple spaces From: Naser Ali <mailto:[EMAIL PROTECTED]> wrote: : Below is the actual code. This is just the preliminary code : to test the logic, it is not

RE: string seperated by multiple spaces

2004-06-28 Thread Naser Ali
print "$label,$TD,$YT,$M,$L,$Y,$W\n"; } --- -Original Message- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 12:01 PM To: [EMAIL PROTECTED] Subject: Re: string seperate

RE: string seperated by multiple spaces

2004-06-28 Thread Naser Ali
- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:55 AM To: [EMAIL PROTECTED] Subject: Re: string seperated by multiple spaces Naser Ali wrote: > Any suggestions on what am I doing wrong..? Why do you want a scalar variable for each value? Why not using

RE: string seperated by multiple spaces

2004-06-28 Thread Naser Ali
789 52635 87236 7828 I tried with, after removing "i" " split ' ' " and " split (/\s+/,$Avg) " as well, but no success Thanks -Original Message- From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:44 AM To:

string seperated by multiple spaces

2004-06-28 Thread Naser Ali
Hello all, I have a line of text and numbers each seperated by multiple or single spaces looks like this abc 123 33545 789 I wanted to split the above line and store each column value in a specific variable and later print, Below is the code I am using but it's not working as I des

Perl and Excel

2004-06-25 Thread Naser Ali
Hello All, Is there a way to move data from flat file to Excel spread sheet using perl? Thanks

RE: Pattern match

2004-06-22 Thread Naser Ali
- From: Roberto Etcheverry [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 5:44 PM To: Naser Ali Cc: [EMAIL PROTECTED] Subject: Re: Pattern match It's difficult to answer if you do not post the code with some input to test it, but lets suppose you have this: my @array; @array = ;

Pattern match

2004-06-21 Thread Naser Ali
Hello, I have an array which was created by slurrping a whole text file. There are certain element in the array after reading the files which contain only one word. I want to only match those array elements which contain a single word and print it. Tried every thing but in vain. I must be doing s

RE: how to sort certain pattern from a file

2004-06-16 Thread Naser Ali
e. Thanks -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 2:02 PM To: Naser Ali Cc: [EMAIL PROTECTED] Subject: Re: how to sort certain pattern from a file On Jun 16, 2004, at 12:22 PM, Naser Ali wrote: > Hello All, Hello. > Ye

RE: how to sort certain pattern from a file

2004-06-16 Thread Naser Ali
uot;Index[$y] > $array2[$y]\n"; } print "FIRST--> $FIRST and LAST--->$LAST\n"; --------- -Original Message- From: Naser Ali [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 4:22 PM To: [EMAIL PROTECTED] Subject: how to sort certain pattern from a

how to sort certain pattern from a file

2004-06-15 Thread Naser Ali
Below is a sample report. I have been able to only capture lines between "Intance Name" and "System totals", but here is my delima. The menus on the report are repeated several times. For example, the line starts with "Instance Name" appears twice. I only want to capture the lines between first o

RE: CGI and Oracle Question,

2002-07-05 Thread Naser Ali
message in error, please notify us by telephone or email (to the numbers or address above) immediately. -----Original Message- From: Naser Ali [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 15:32 To: '[EMAIL PROTECTED]' Subject: CGI and Oracle Question, Hello Everyone,

RE: CGI and Oracle Question,

2002-07-05 Thread Naser Ali
Question, You will need to set your $ORACLE_HOME $ORACLE_HOME = "/path/to/oracle"; -Original Message----- From: Naser Ali [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 9:32 AM To: '[EMAIL PROTECTED]' Subject: CGI and Oracle Question, Hello Everyone, I am try

CGI and Oracle Question,

2002-07-05 Thread Naser Ali
Hello Everyone, I am trying to access Oracle database object (a table's contents) through a CGI script to print the information on the web page, but I am continuously getting this error message, "ORACLE_HOME environment variable not set! DBI->connect(aali) failed: Error while trying to retrieve

RE: DBI and DBD:: Oracle problem

2002-06-07 Thread Naser Ali
It is a refernce to an address_type. -Original Message- From: Joe Raube [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 8:57 AM To: '[EMAIL PROTECTED]' Subject: Re: DBI and DBD:: Oracle problem What does your table look like? What is the data type of the 4th field?

DBI and DBD:: Oracle problem

2002-06-07 Thread Naser Ali
U have this program which connects to an Oracle 8i database but I get the following error message. Can anyone help please, = #!/usr/bin/perl -w # use DBI;# Load the DBI module use DBD::Oracle; ### Perform the connection using the Ora

Oracle and Perl

2002-06-06 Thread Naser Ali
Hello everyone, I am planning to write perl programs to access Oracle database. What do I need to install and configure in Solaris 2.6 environment with Oracle 8i.? Where can I find some basic tutorials for beginners like my self. Any pointers will be appreciated. Thanks

Net::Telnet question

2002-05-24 Thread Naser Ali
Hello everyone, I have gotten this program from the Net::Telnet readme file, but it does not work. When I run it it output a message which I don't understand. How can I give it userid and passwd for the telnet session..? ===Program segment= #!/usr/bin/perl use Net::T