I22r-Translate

 view release on metacpan or  search on metacpan

t/Constants.pm  view on Meta::CPAN

}


# t/Constants.pmx is a separate file, not included in
# the released distribution, that contains my personal
# API keys for testing and development.

if (-f "t/Constants.pmx" && !$ENV{RELEASE}) {
    # t/Constants.pmx is a file, not included with the I22r-Translate
    # distribution, that resides on the author's system and contains
    # his Google and Microsoft credentials.
    require "t/Constants.pmx";
} else {
    $t::Constants::GOOGLE_API_KEY = "get_a_Google_API_key_and_set_this_value";
    $t::Constants::CONFIGURED = 0;
}

1;



( run in 0.459 second using v1.01-cache-2.11-cpan-4d50c553e7e )