I am using perl v5.22.1, and I am debugging an old script.  The code is,

            if (defined($$glob)) {
                $localconfig{$var} = $$glob;
            elsif (defined (@$glob)) {
                $localconfig{$var} = \@$glob;
            elsif (defined (%$glob)) {
                $localconfig{$var} = \%$glob;

when I run it, the interpreter errors out with:

Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at 
Bugzilla/Install/ line 239, <DATA> line 755.

Any thoughts?  Thanks.


What if eternity is real? Where will you spend it? Hmmm...

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to