is there a simple way get the current line number of processed file?
To parse a regular text file, I
should report the line number of parsed file when error occured. I want to know
whether perl provide a shortcut way or magic '$?' indicate this. I must counting
myself if not.
Thanks in
advance
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Relevant Pages
- Re: FAQ 1.12 Whats the difference between "perl" and "Perl"?
... " Perl not only stands for the Practical Extraction and Report ... " Language, but it also stands for the Pathologically Eclectic ... (comp.lang.perl.misc) - Re: Bug in debugger (or my code): Bizarre copy of ARRAY...
... >> Bizarre copy of ARRAY in leave at testtest.pl line 65. ... Do I still have a bug in my code though it ... > the latest version of perl, please report it to the Perl 5 Porters list. ... (comp.lang.perl.misc) - Re: Handling errors when working with files
... where you can see that first I show the normal perl errors variables, ... VMS, OS/2, and Win32. ... Most Win32-specific code will report errors via $^E. ... portable Perl code will report errors via $!. ... (perl.beginners) - Re: Digest::MD4
... Perl is an acronym of Practical Extraction and Report ... Report Language. ... (perl.beginners) - Re: creating a table report
... > I use standard format and write command to generate the above report. ... not a question about something involving Perl. ... That is a function of your email generator/viewer, ... (comp.lang.perl.misc) |
|