Is there a quick and easy way that I can get the last key from a file.
For example, If I have this in my file (see below) how can I get the
line 20<\val2>, with out reading through the entire file
0<\val1>
0<\val2>
0<\val3>
10<\val1>
10<\val2>
10<\val3>
20<\val1>
20<\val2>
20<\val3>
--
To unsu
Is there a quick and easy way in perl to get the last entry in a file
for a specific value
For example If I have the following data in a file
1<\len>
int<\type>
2<\len>
int<\type>
3<\len>
int<\type>
I would like to get the line 3<\len>.
Please keep in mind that the data in the file is only a sa