Re: parsing problem

2007-02-15 Thread Shiping Wang
Thank you John. I have learned a lot from you and others just by following this 'Perl Beginners' list'. Shiping At 02:00 PM 2/15/2007, John W. Krahn wrote: Shiping Wang wrote: > Hi, Hello, > I wrote a parsing script, it is working but give me some error message > at beginning: Use of uniniti

Re: parsing problem

2007-02-15 Thread John W. Krahn
Shiping Wang wrote: > Hi, Hello, > I wrote a parsing script, it is working but give me some error message > at beginning: Use of uninitialized value in concatenation (.) or string > ... and also it gives some unwanted stuff. To get around this problem, I > want to directly go to the line and star

Re: Parsing problem

2003-12-12 Thread drieux
On Dec 12, 2003, at 6:50 AM, Larry Sandwick wrote: [..] I thought it would be done with hashes and every time I get into hashes I get a headache. I do see that I have much to learn about Perl especially hashes. Ok, let's go back over what has been played so far. John has offered One way towards the

RE: Parsing problem

2003-12-12 Thread Larry Sandwick
ECTED] Sent: Thursday, December 11, 2003 6:22 PM To: Perl Perl Subject: Re: Parsing problem On Dec 11, 2003, at 12:27 PM, Larry Sandwick wrote: > With the little amount of Perl that I know, I have come to a dilemma. I > do not know how to parse this file so in column 1 (24165) is the number

Re: Parsing problem

2003-12-11 Thread drieux
On Dec 11, 2003, at 8:00 PM, R. Joseph Newton wrote: drieux wrote: Still think you should shoot who EVER came up with the original file format... [..] Now, now, no need for violence. Perhaps seeking a commitment order, but no violence, please! p0: in light of your MOST EXCELLENT RDBMS table lay ou

Re: Parsing problem

2003-12-11 Thread R. Joseph Newton
drieux wrote: > > Still think you should shoot who EVER came up with > the original file format... > > HTH > > ciao > drieux Now, now, no need for violence. Perhaps seeking a commitment order, but no violence, please! Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Parsing problem

2003-12-11 Thread R. Joseph Newton
Larry Sandwick wrote: > > I know I can split the file on "|" but because the data is not > consistent and my skill set is limiting me to re-parse this file into a > file I can upload into MySql Just Don't Do It. This data is not ready for entry into a database. MySQL is an RDBMS engine, and RDB

Re: Parsing problem

2003-12-11 Thread drieux
On Dec 11, 2003, at 12:27 PM, Larry Sandwick wrote: With the little amount of Perl that I know, I have come to a dilemma. I do not know how to parse this file so in column 1 (24165) is the number duplicate for every item number in the list. I also need in the 2 column (O185850) to duplicate itse

Re: Parsing problem

2003-12-11 Thread John W. Krahn
Larry Sandwick wrote: > > With the little amount of Perl that I know, I have come to a dilemma. I > do not know how to parse this file so in column 1 (24165) is the number > duplicate for every item number in the list. I also need in the 2 > column (O185850) to duplicate itself for every item. T