trailmonk has asked for the wisdom of the Perl Monks concerning the following question:
We are hoping that an end user will be able to click on a URL link and for that link to point to the last record of our Perl database.
I'm not sure if this helps but, right now, our display.cgi code reads:
We could reverse the way the data is displayed by adding:# Read in Data ############################### open (DATABASE, "$data_file"); @data=<DATABASE>; close (DATABASE); chomp @data;
but this is a quick fix and it is not what we truly desire. We desire that the end user has an option to click on a URL link so that only the last record is displayed. Do you have an perls of wisdom about this?@reverse = reverse @data; @data = @reverse;
jdporter added code tags
Back to
Seekers of Perl Wisdom