http://qs321.pair.com?node_id=559752

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

Great Monks,

When I try to debug the CGI Code using the below code, I get unclear output in error_log file.

Code

my @arr=qw(Apple Banana Orange Flower Green Red Yellow); print STDERR @arr;

Unclear output found in error_log file

[Fri Jul 07 15:02:20 2006] [error] [client 10.50.11.85] Apple, referer +: http://10.50.11.85/cgi-bin/mvc/GoView.cgi?rm=mode3 [Fri Jul 07 15:02:20 2006] [error] [client 10.50.11.85] Banana, refere +r: http://10.50.11.85/cgi-bin/mvc/GoView.cgi?rm=mode3 [Fri Jul 07 15:02:20 2006] [error] [client 10.50.11.85] Orange, refere +r: http://10.50.11.85/cgi-bin/mvc/GoView.cgi?rm=mode3 [Fri Jul 07 15:02:20 2006] [error] [client 10.50.11.85] Flower, refere +r: http://10.50.11.85/cgi-bin/mvc/GoView.cgi?rm=mode3 [Fri Jul 07 15:02:20 2006] [error] [client 10.50.11.85] Green, referer +: http://10.50.11.85/cgi-bin/mvc/GoView.cgi?rm=mode3 [Fri Jul 07 15:02:20 2006] [error] [client 10.50.11.85] Red, referer: +http://10.50.11.85/cgi-bin/mvc/GoView.cgi?rm=mode3 [Fri Jul 07 15:02:20 2006] [error] [client 10.50.11.85] Yellow, refere +r: http://10.50.11.85/cgi-bin/mvc/GoView.cgi?rm=mode3

Can you guide me how to get pretty view.

Thanks,
Gopal R.