]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/17-ctl.t
Replace $] by "$]"
[perl/modules/Variable-Magic.git] / t / 17-ctl.t
index 92a4c0cc7930d5a9d3dc8a7c1e74185d464bc747..ca22761333c3a5e5959aaddd4d6fb50a1af1d2d0 100644 (file)
@@ -269,9 +269,9 @@ use Variable::Magic qw<wizard cast>; BEGIN { cast %::, wizard fetch => sub { die
  CODE
  skip 'Test code didn\'t run properly' => $count unless defined $output;
  my $suffix = "\nExecution(?s:.*)";
- if ($] >= 5.011005) {
+ if ("$]" >= 5.011005) {
   $suffix = "(?:\nsalsify at -e line \\d+.){12}" . $suffix;
- } elsif ($] >= 5.011) {
+ } elsif ("$]" >= 5.011) {
   $suffix = "(?:\nsalsify at -e line \\d+.){3}" . $suffix;
  }
  like $output, expect('salsify', '-e', $suffix),