in reply to Re: what is @$varname in perl
in thread what is @$varname in perl

i have declared $count = -1 initially , so it does work