Greetings! 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/Localconfig.pm line 239, <DATA> line 755. Any thoughts? Thanks. josé -- What if eternity is real? Where will you spend it? Hmmm... -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/