Hi all,
I am writing a CGI script that outputs some HTML. This is quite easy for me, apart from the following...
Before I output the HTML, I call a function and pass its results to an array - @array=function();
I would like to print the contents of this array in the HTML page, but either end up printing hexadecimal values or the code itself.
I thought something like 'print @array[1]' would be appropriate, but it isn't.
Any ideas?
Thanks
I am writing a CGI script that outputs some HTML. This is quite easy for me, apart from the following...
Before I output the HTML, I call a function and pass its results to an array - @array=function();
I would like to print the contents of this array in the HTML page, but either end up printing hexadecimal values or the code itself.
I thought something like 'print @array[1]' would be appropriate, but it isn't.
Any ideas?
Thanks