]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/28-uvar.t
A terser way to display versions for modules used in tests
[perl/modules/Variable-Magic.git] / t / 28-uvar.t
index b0114ad67f5234b3d960f3f785c5eb609923dc10..acc761f24f795fa0880585fe15a05ce9e452d1a2 100644 (file)
@@ -53,7 +53,7 @@ is $x, 1, 'uvar: fetch directly with also non uvar magic correctly';
 SKIP: {
  eval "use Tie::Hash";
  skip 'Tie::Hash required to test uvar magic on tied hashes' => 2 * 5 + 4 if $@;
- diag "Using Tie::Hash $Tie::Hash::VERSION" if defined $Tie::Hash::VERSION;
+ defined and diag "Using Tie::Hash $_" for $Tie::Hash::VERSION;
 
  tie my %h, 'Tie::StdHash';
  %h = (x => 7, y => 8);