#! /usr/bin/perl @a = &test() ; if ( defined @a) { print "defined\n" ; } sub test { return undef ; } [download]
In reply to if (defined @arr) problem by jeanluca