rahulme81 has asked for the wisdom of the Perl Monks concerning the following question:


I am reading some lines (as below) via perl script from a text file.





Now my requirement is to have HTML page/template which should display the options read from perl script as a hyperlink.

I need Output as below on web page as below:

OptionsDisplay ABC DEF GHI JKL

Let's say if I get four options in my text file then 4 hyperlink should be displayed, If I get 8 options in text then 8 hyperlinks will be there on page.

Otherwise a default template is used if I am not reading the file in my perlcode

How do I use/design the HTML template according to this purpose. Please advice on this or provide a sample refrence to achieve this.