my $c should be named my $client or $conn for correct nomenclature.