in reply to New error message in ActivePerl 5.22
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at (#2) line 2842 Perl doesn't normally produce error messages where the filename is listed as (#2). Some possibilities for why this might be happening are:
some code is being read from a file literally called '(#2)';
A source file has a line directive which changes the reported filename:
# line 1234 "(#2)" .... if (defined @a) {1; }
You have a $SIG{__DIE__} which is in some way modifying the error message.
Dave.
|
|---|