Don't ask to ask, just ask | |
PerlMonks |
Re: Tagging the last elementsby jbt (Chaplain) |
on Jul 28, 2009 at 04:17 UTC ( [id://783740]=note: print w/replies, xml ) | Need Help?? |
Please "use strict", there are a number of errors in your program.
It is probably not necessary to check the format of each line before processing. It is not clear to me what your first is if statement is supposed to do. You will need to rethink the logic to produce the desired output unless the numeric values are sorted by name. You will need additional logic to determine single and end.
In Section
Seekers of Perl Wisdom
|
|