use MyCounter; # declare the usage of MyCounter my $file = shift; my $host = shift; my $db = ; # where's the DB coming from? ... $counter = counter( $0, $db, $host ); #i call my module print $counter; #### $output"; ?>