|Think about Loose Coupling
appending to html at beginningby Limbomusic (Acolyte)
|on Feb 03, 2017 at 07:48 UTC
Limbomusic has asked for the wisdom of the Perl Monks concerning the following question:
Hello :-) I am totally new to perl. I'm trying to get a madlibs story working. (I know there is a template called weblibs for this but couldnt get that to work)
Anyway I have got it working but all new stories are appended/added AFTER one another - I want the last one to be listed FIRST in the html - file instead of last. Is this possible?
I have an input.html with forms that send the nouns/adjectives to tull.pl that generates the story and a link to the resulting stories.html file where the stories are listed (the "wrong" way)here is my .pl file: