1#!perl 2 3use strict ("subs", "vars", "refs"); 4use warnings ("all"); 5BEGIN { $ENV{CLONE_CHOOSE_PREFERRED_BACKEND} = "Storable"; } 6END { delete $ENV{CLONE_CHOOSE_PREFERRED_BACKEND} } # for VMS 7 8use Test::More; 9 10BEGIN 11{ 12 $ENV{CLONE_CHOOSE_PREFERRED_BACKEND} and eval "use $ENV{CLONE_CHOOSE_PREFERRED_BACKEND}; 1;"; 13 $@ and plan skip_all => "No $ENV{CLONE_CHOOSE_PREFERRED_BACKEND} found."; 14 15 use_ok('Clone::Choose') || BAIL_OUT "Couldn't load Clone::Choose"; 16} 17 18diag("Testing Clone::Choose $Clone::Choose::VERSION, Perl $], $^X"); 19 20my $backend = Clone::Choose->backend; 21 22diag("Using backend $backend version " . $backend->VERSION); 23 24done_testing; 25 26 27