when i am using above script i am getting below error.
Global symbol "$connect" requires explicit package name at test.pl line 86.
Global symbol "$swis" requires explicit package name at test.pl line 118.
When i define $connect,$swis in below line.
my ($ip,$rocid,$query,$query_handle,$connect,$swis);
I am getting "Can't call method "prepare" on an undefined value at test.pl line 85".
Please advice me what i am doing wrong.
Thanks.