The stupid question is the question not asked | |
PerlMonks |
Re: Can we use print <<HTML; twice in same file?by Perl300 (Friar) |
on Aug 25, 2015 at 18:11 UTC ( [id://1139908]=note: print w/replies, xml ) | Need Help?? |
Hi again,
Thanks for all the inputs. I had screwd up the code too much and once the confusion I had about heredoc was clarified, I removed the syntax errors (thanks to fishmonger) and now the script is working fine. I still need to modify how I am fetching data as it's one column I am fetching but only first element of array is getting the value and others are left uninitialized. I'll find what I am still doing wrong. Also appreciate all for suggesting me better approach as well. I am creating dynamic webpage in perl and as this is first time had no idea of how to do and where to start. So I started from reading some html and decided to use CGI module as it's on perl 5.8 and I can't get modules that are not already present.
In Section
Seekers of Perl Wisdom
|
|