From e3407aba2c52ce8e302b2dc706d0837bc82c537f Mon Sep 17 00:00:00 2001 From: John Peacock Date: Mon, 24 Sep 2001 13:29:03 -0400 Subject: warning on v-string in use/require Message-ID: <3BAFA59F.9C0E0339@rowman.com> p4raw-id: //depot/perl@12205 --- t/lib/warnings/pp_ctl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 't') diff --git a/t/lib/warnings/pp_ctl b/t/lib/warnings/pp_ctl index ac01f277b1..59ced2b446 100644 --- a/t/lib/warnings/pp_ctl +++ b/t/lib/warnings/pp_ctl @@ -222,6 +222,18 @@ EXPECT Use of uninitialized value in print at (eval 1) line 1. ######## # pp_ctl.c +use warnings 'portable'; +eval 'use 5.6.1'; +EXPECT +v-string in use/require non-portable at (eval 1) line 2. +######## +# pp_ctl.c +use warnings 'portable'; +eval 'use v5.6.1'; +EXPECT +v-string in use/require non-portable at (eval 1) line 2. +######## +# pp_ctl.c use warnings; { no warnings; -- cgit v1.2.1