RE: I need help here

2005-10-17 Thread Charles K. Clarkson
Bowen, Bruce mailto:[EMAIL PROTECTED] wrote: : If I declare my 'lexical variables' at the beginning of a : file, and then refer to the variable without the 'my ' in front : of it, does that change it back to a package variable or does : that create a new package variable? Once a variable

RE: I need help here

2005-10-16 Thread Charles K. Clarkson
Sreedhar reddy mailto:[EMAIL PROTECTED] wrote: : Hi Charles, : : : This is the code which I have written to finish my small task... Oh. So I actually had the whole thing to begin with. Sorry about that. Your script is using a different set of variables than the ones we would like to see

RE: I need help here

2005-10-16 Thread Sreedhar reddy
' Subject: RE: I need help here Sreedhar reddy mailto:[EMAIL PROTECTED] wrote: : Hi Charles, : : : This is the code which I have written to finish my small task... Oh. So I actually had the whole thing to begin with. Sorry about that. Your script is using a different set of variables than

RE: I need help here

2005-10-15 Thread Sreedhar reddy
Thanks a Lot John... I appreciate your feedback which helps me to improve myself... Cheers. Sridhar Reddy -Original Message- From: John W. Krahn [mailto:[EMAIL PROTECTED] Sent: Saturday, October 15, 2005 11:05 AM To: Perl Beginners Subject: Re: I need help here Sreedhar reddy wrote

RE: I need help here

2005-10-15 Thread Charles K. Clarkson
Sreedhar reddy mailto:[EMAIL PROTECTED] wrote: : Charles wrote: : : A working perl script should not be your only concern : : when just learning the language. It is equally, no, more : : important that you learn how to write your code well. Show : : us your entire working script. I think

RE: I need help here

2005-10-15 Thread Sreedhar reddy
... -Original Message- From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Sent: Saturday, October 15, 2005 4:27 PM To: 'Perl Beginners' Subject: RE: I need help here Sreedhar reddy mailto:[EMAIL PROTECTED] wrote: : Charles wrote: : : A working perl script should not be your only

I need help here

2005-10-14 Thread Sreedhar reddy
Hi, I am very new to PERL and I need a program to do following task. Can u help me pls. I have a file with following contents. 454 NV_DS_DEFAULT_BAUDRATE_I 455 NV_DIAG_DEFAULT_BAUDRATE_I 516 NV_WCDMA_RX_LIN_VS_TEMP_I I am expecting out put like NV_DS_DEFAULT_BAUDRATE_I 454

Re: I need help here

2005-10-14 Thread Bill Stephenson
On Oct 14, 2005, at 7:22 AM, Sreedhar reddy wrote: Hi, I am very new to PERL and I need a program to do following task. Can u help me pls. I have a file with following contents. 454 NV_DS_DEFAULT_BAUDRATE_I 455 NV_DIAG_DEFAULT_BAUDRATE_I 516 NV_WCDMA_RX_LIN_VS_TEMP_I I am expecting out

I need help here

2005-10-14 Thread Sreedhar reddy
Hi, I am very new to PERL and I need a program to do following task. Can u help me pls. I have a file with following contents. 454 NV_DS_DEFAULT_BAUDRATE_I 455 NV_DIAG_DEFAULT_BAUDRATE_I 516 NV_WCDMA_RX_LIN_VS_TEMP_I I am expecting out put like NV_DS_DEFAULT_BAUDRATE_I 454

Re: I need help here

2005-10-14 Thread Chris Devers
On Fri, 14 Oct 2005, Sreedhar reddy wrote: I am very new to PERL and I need a program to do following task. Can [you] help me [please][question-mark] I have a file with following contents. 454 NV_DS_DEFAULT_BAUDRATE_I 455 NV_DIAG_DEFAULT_BAUDRATE_I 516 NV_WCDMA_RX_LIN_VS_TEMP_I I am

RE: I need help here

2005-10-14 Thread Sreedhar reddy
- From: Chris Devers [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 6:06 PM To: Sreedhar reddy Cc: beginners@perl.org Subject: Re: I need help here On Fri, 14 Oct 2005, Sreedhar reddy wrote: I am very new to PERL and I need a program to do following task. Can [you] help me [please

RE: I need help here

2005-10-14 Thread Sreedhar reddy
Chris- Can u suggest good links to gain good knowledge in PERL... Thanks, Sridhar Reddy -Original Message- From: Chris Devers [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 6:06 PM To: Sreedhar reddy Cc: beginners@perl.org Subject: Re: I need help here On Fri, 14 Oct

RE: I need help here

2005-10-14 Thread Chris Devers
You accidentally replied just to me, not to the list. Please don't do that. Send all messages to the list and I will read them there, along with all the other helpful list subscribers. On Fri, 14 Oct 2005, Sreedhar reddy wrote: I tried like this... INPUT = fopen(filename); OUTPUT -- I

Re: I need help here

2005-10-14 Thread John W. Krahn
Sreedhar reddy wrote: Hi, Hello, I am very new to PERL and I need a program to do following task. Can u help me pls. I have a file with following contents. 454 NV_DS_DEFAULT_BAUDRATE_I 455 NV_DIAG_DEFAULT_BAUDRATE_I 516 NV_WCDMA_RX_LIN_VS_TEMP_I I am expecting out put like

RE: I need help here

2005-10-14 Thread Sreedhar reddy
need help here You accidentally replied just to me, not to the list. Please don't do that. Send all messages to the list and I will read them there, along with all the other helpful list subscribers. On Fri, 14 Oct 2005, Sreedhar reddy wrote: I tried like this... INPUT = fopen(filename

RE: I need help here

2005-10-14 Thread Sreedhar reddy
: Friday, October 14, 2005 6:59 PM To: Sreedhar reddy Cc: beginners@perl.org Subject: RE: I need help here You accidentally replied just to me, not to the list. Please don't do that. Send all messages to the list and I will read them there, along with all the other helpful list subscribers. On Fri, 14

RE: I need help here

2005-10-14 Thread Charles K. Clarkson
Sreedhar reddy mailto:[EMAIL PROTECTED] wrote: : Finally I finished this program like this... [snip] A working perl script should not be your only concern when just learning the language. It is equally, no, more important that you learn how to write your code well. Show us your entire

Re: I need help here

2005-10-14 Thread John W. Krahn
Sreedhar reddy wrote: Finally I finished this program like this... You should have these two lines at the beginning of your program: use warnings; use strict; as they will help you find some mistakes and enforce better coding practices. $inputfile= shift; $outputfile = shift;