in reply to Finding Location of Hash Structure?

mdskrzypczyk,

When you use a hash:

$Hash{"HashID"} = 0;
but when you define it:
my %Hash = (); # or just 'my %Hash;'
so maybe you should look for '%CONTACTS'.

Regards...Ed

"Well done is better than well said." - Benjamin Franklin

Replies are listed 'Best First'.
Re^2: Finding Location of Hash Structure?
by 1nickt (Canon) on Jul 23, 2015 at 15:50 UTC

    How have you looked in your code? When you do grep -rn 'CONTACTS' * in the root directory of your code, every result is $CONTACTS{...}?

    Upate: show complete command
    The way forward always starts with a minimal test.
Re^2: Finding Location of Hash Structure?
by mdskrzypczyk (Novice) on Jul 23, 2015 at 15:27 UTC
    I've been looking for the declaration somewhere in the files and have not managed to find it anywhere
      Perl doesn't require declarations.
      Some piece of code puts data in %CONTACTS, some other piece of code uses it. This is kind of a bad programming style, but you run into it a lot in legacy code. You'll just have to look for anything that looks like it's storing data in there.