rsFalse has asked for the wisdom of the Perl Monks concerning the following question:
use warnings; @_ = (undef, 5, 8, undef); print ( (sort {$b <=> $a} grep defined, @_)[ 0 ], " - was a max defined value\n" );
How can I avoid such warning? And what does it mean? I can't understand.STDOUT: 8 STDERR: print (...) interpreted as function at prog.pl line 5.
|
|---|