Hello Stabu ,
If you have pushed your lines into an array , then
the index of your array implicitly couples the linenumber
with the content of each element of the array.
for ($i=0;$i<=$#ALL;$i++) { print "$i , $ALL$i" ; }
cheers
sgc
Comment on Re: line numbers and line content into hash