Re: regd . Line number printing...

2007-07-10 Thread mayank . ahuja
Hi Paul I don't think so.In my mail I was so much rude , but if you still feel so then I want to apologize. regards Mayank Paul Lalli <[EMAIL PROTECTED]> 07/10/2007 11:14 PM To beginners@perl.org cc Subject Re: regd . Line number printing... On Jul 10, 8:24

Re: regd . Line number printing...

2007-07-10 Thread Gowtham
On Jul 10, 5:24 pm, [EMAIL PROTECTED] (Mayank Ahuja) wrote: > Hi Perlers > > cud u plz tell me what wrong in this : > > #!/usr/bin/perl > use strict; > use warnings; > print "Enter the File name \n"; > my $input_file = ; > chomp($input_file) ; > open FH,$input_file or die "Can not open the file a

Re: regd . Line number printing...

2007-07-10 Thread Gowtham
On Jul 10, 5:24 pm, [EMAIL PROTECTED] (Mayank Ahuja) wrote: > Hi Perlers > > cud u plz tell me what wrong in this : > > #!/usr/bin/perl > use strict; > use warnings; > print "Enter the File name \n"; > my $input_file = ; > chomp($input_file) ; > open FH,$input_file or die "Can not open the file a

Re: regd . Line number printing...

2007-07-10 Thread Paul Lalli
On Jul 10, 8:24 am, [EMAIL PROTECTED] (Mayank Ahuja) wrote: > cud u plz tell me what wrong in this : Could you please talk like an adult? Not only do you give the impression that you're 10 years old, you are rude to non-native speakers of the English language who could possibly help you. > #!/us

Re: regd . Line number printing...

2007-07-10 Thread John W. Krahn
[EMAIL PROTECTED] wrote: Hi Perlers Hello, cud u plz tell me what wrong in this : Could you please use proper English? #!/usr/bin/perl use strict; use warnings; print "Enter the File name \n"; my $input_file = ; chomp($input_file) ; open FH,$input_file or die "Can not open the file at $

Re: regd . Line number printing...

2007-07-10 Thread Mr. Shawn H. Corey
[EMAIL PROTECTED] wrote: Hi Perlers cud u plz tell me what wrong in this : #!/usr/bin/perl use strict; use warnings; print "Enter the File name \n"; my $input_file = ; chomp($input_file) ; open FH,$input_file or die "Can not open the file at $!" ; my @lines = ; while () print $. ; } close(FH

regd . Line number printing...

2007-07-10 Thread mayank . ahuja
Hi Perlers cud u plz tell me what wrong in this : #!/usr/bin/perl use strict; use warnings; print "Enter the File name \n"; my $input_file = ; chomp($input_file) ; open FH,$input_file or die "Can not open the file at $!" ; my @lines = ; while () print $. ; } close(FH); But its neither printi