mitchreward has asked for the wisdom of the Perl Monks concerning the following question:
Hi guys,
I use the following code with a perl v5.14.2, and it tells me that defined function on hash is deprecated. how can I fix this test easily ?
if (!$Config{'recipient'}) {^M if (!defined(%Form)) { &error('bad_referer') }^M else { &error('no_recipient') }^M }^M else {^M ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: replace deprecated function
by Athanasius (Cardinal) on Jun 23, 2014 at 13:23 UTC | |
|
Re: replace deprecated function
by choroba (Cardinal) on Jun 23, 2014 at 13:24 UTC | |
|
Re: replace deprecated function
by wjw (Priest) on Jun 23, 2014 at 13:24 UTC | |
by mitchreward (Acolyte) on Jun 23, 2014 at 13:37 UTC | |
|
Re: replace deprecated function
by AnomalousMonk (Archbishop) on Jun 23, 2014 at 17:04 UTC |