in reply to Re: Global symbol requires explicit package name
in thread Global symbol requires explicit package name

Thank you so much for your advice... I tried your solution! it works and I no longer get the Global symbol ... error. :-)
However I now get a new error message:
Use of uninitialized value in string eq at sharingpoes.pl line 30. Use of uninitialized value in string eq at sharingpoes.pl line 30.
I'm the cutest kitty ever
Use of uninitialized value in concatenation (.) or string at sharingpoes.pl line 31.
array[0] =


if ( $array[0] eq $tmp->[1][0] ) { #line 30
print " array[0] eq $array[1] \n"; # line 31
}

Thank you so very much!