If i simply not use
use Client;
the entire application works fine.
So I feel that there is something wrong with Client.pm. But I have been reading tutorials and sample scripts and moreove Client.pm just has two functions in it.
I spent several hours yesterday trying to figure out what i am missing here.