I have below string which I want to use in GetOptions to avoid hardcoding (because these parameters are not static).
my $param = " 'name=s','status=s' ";
I have to store values in a hash.
GetOptions(\%data,$param);
Error is :
Error in option spec
Comments
Post a Comment