You don't need to sort file each time you add entry.
just append the file.
open ( FH , "$file") or die 'can not open file' ;
@entries = (<FH>);
while($entry = pop(@entries) ){
.....you will get entries from bottom of the file .....
print $entry ,"\n";
}
There are two simple ways to solve this problem.
1) cookies
set cookies with information you want to pass from one page to other
2) hidden fields
store information in hidden fields, which can be accessed on submit
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.