Re: Trying To write a script

2004-08-09 Thread Gunnar Hjalmarsson
Harjit Singh wrote: The following code is what I used to check if item number could be detected for the file I sent in the earlier email. Did you send email to my [EMAIL PROTECTED] address? If the message in the user part of the address isn't sufficient, I can tell you that I never received your me

RE: Trying To write a script

2004-08-09 Thread Singh, Harjit
d+)/) { print " $1,$2, $3 "; }} close (INFO); Regards, SUnny -Original Message- From: Randy W. Sims [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 5:27 PM To: Singh, Harjit Cc: [EMAIL PROTECTED] Subject: Re: Trying To write a script Singh, Harjit wrote: > Randy,

Re: Trying To write a script

2004-08-09 Thread Randy W. Sims
Singh, Harjit wrote: Randy, The code is still not working with the modifications that you listed earlier. The code does not have any compilation errors but does not show the results for the variables $1, $2 and $3. I was wandering if you could think of something else that is causing the problem.

RE: Trying To write a script

2004-08-09 Thread Singh, Harjit
W. Sims [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 4:57 PM To: Singh, Harjit Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Trying To write a script Singh, Harjit wrote: > The following code is what I used to check if item number could be > detected for the file I sent in t

Re: Trying To write a script

2004-08-09 Thread Randy W. Sims
Singh, Harjit wrote: The following code is what I used to check if item number could be detected for the file I sent in the earlier email. The code seems to have failed and need a advise on it.. A couple of suggestions/corrections: #!C:\perl\bin\perl5.6.1 use strict; use warnings; $file1 = ' C:\pe

RE: Trying To write a script

2004-08-09 Thread Singh, Harjit
James, I made the change but still did not fix my problem.. Sunny. -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 4:41 PM To: Singh, Harjit Cc: Perl Beginners Subject: Re: Trying To write a script On Aug 9, 2004, at 3:36 PM, Singh

Re: Trying To write a script

2004-08-09 Thread James Edward Gray II
On Aug 9, 2004, at 3:36 PM, Singh, Harjit wrote: The following code is what I used to check if item number could be detected for the file I sent in the earlier email. The code seems to have failed and need a advise on it.. #!C:\perl\bin\perl5.6.1 $file1 = ' C:\perl\bin\dummy.txt' ; open (INFO, "<

RE: Trying To write a script

2004-08-09 Thread Singh, Harjit
-Original Message- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Monday, August 09, 2004 10:12 AM To: [EMAIL PROTECTED] Subject: Re: Trying To write a script Harjit Singh wrote: > I am trying to write a script that would be able to read a file. Are you? I don't see any co

RE: Trying To write a script

2004-08-09 Thread Marcos . Rebelo
> -Original Message- > From: Singh, Harjit [mailto:[EMAIL PROTECTED] > Sent: Monday, August 09, 2004 4:05 PM > To: [EMAIL PROTECTED] > Subject: Trying To write a script > > > I am trying to write a script that would be able to read a file. The > file is broken into number of segments a

Re: Trying To write a script

2004-08-09 Thread Gunnar Hjalmarsson
Harjit Singh wrote: I am trying to write a script that would be able to read a file. Are you? I don't see any code. What is the best approach to be able to make this possible? I have no idea. But the best approach when seeking help here is to post a small but complete program, including sample dat

Re: Trying To write a script

2004-08-09 Thread James Edward Gray II
On Aug 9, 2004, at 9:05 AM, Singh, Harjit wrote: I am trying to write a script that would be able to read a file. The file is broken into number of segments and each segment starts with a similar string pattern of following type: 2.2.x.y.z: followed with white space, where x, y, z numbers change