On Fri Sep 28 14:07:15 2012, flamesworld@gmail.com wrote:
Show quoted text> Getting this warning with every use:
>
> defined(@array) is deprecated at /usr/lib/perl5/vendor_perl/5.16.0/CGI.pm
> line 528.
> (Maybe you should just omit the defined()?)
>
> It would seem the recommendation to just removed the defined() seems to
> work.
>
> (Using CGI.pm 3.60 via OpenSUSE 12.2 RPM build)
Line 528 of CGI.pm 3.60 is
if (@QUERY_PARAM && !defined($initializer)) {
(
https://metacpan.org/source/MARKSTOS/CGI.pm-3.60/lib/CGI.pm#L528 )
also source of CGI.pm 3.60 and current version from git does not contain "defined(@".
--
Alexandr Ciornii,
http://chorny.net