You'll get following error:Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at Modules/CGI.pm line 506. Compilation failed in require at Modules/Process.pm line 5. BEGIN failed--compilation aborted at Modules/Process.pm line 5. Compilation failed in require at /var/www/fileexchange/cgi-bin/index.cgi line 7. BEGIN failed--compilation aborted at /var/www/fileexchange/cgi-bin/index.cgi line 7

apache log:index.cgi: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at Modules/CGI.pm line 506.: /var/www/fileexchange/cgi-bin/index.cgiindex.cgi: Compilation failed in require at Modules/Process.pm line 5.: /var/www/fileexchange/cgi-bin/index.cgiindex.cgi: BEGIN failed--compilation aborted at Modules/Process.pm line 5.: /var/www/fileexchange/cgi-bin/index.cgiindex.cgi: Compilation failed in require at /var/www/fileexchange/cgi-bin/index.cgi line 7.: /var/www/fileexchange/cgi-bin/index.cgiindex.cgi: BEGIN failed--compilation aborted at /var/www/fileexchange

PERL release info: http://search.cpan.org/~rjbs/perl-5.16. ... deprecated"defined(@array) is deprecated(D deprecated) defined() is not usually useful on arrays because it checks for an undefined scalar value. If you want to see if the array is empty, just use if (@array) { # not empty } for example."