Re: Can't use 'defined(@array)'

2018-02-23 Thread David Precious
t; elsif (defined (@$glob)) { > $localconfig{$var} = \@$glob; > } > elsif (defined (%$glob)) { > $localconfig{$var} = \%$glob; > } > > when I run it, the interpreter errors out with: > > Can&#

Can't use 'defined(@array)'

2018-02-23 Thread jose cabrera
(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, line 755. Any thoughts? Thanks.