Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: New error message in ActivePerl 5.22

by dave_the_m (Prior)
on Jan 16, 2017 at 16:31 UTC ( #1179685=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1179685]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2018-04-22 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?