summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-11-26 15:53:56 +0000
committerFather Chrysostomos <sprout@cpan.org>2010-11-28 13:17:06 -0800
commit2dc78664124f51814246e5b3da10c8a9f5fe2726 (patch)
treecf749927370f04975bb52b0cef8940bd634f727e /dist
parentd42388159bbfea27efd2de1d76aa62e99f6c8240 (diff)
downloadperl-2dc78664124f51814246e5b3da10c8a9f5fe2726.tar.gz
Make my $pi := 4; a syntax error.
Previously it interpreted := as an empty attribute list, and issued a deprecation warning. This change permits := to be used as a binding operator.
Diffstat (limited to 'dist')
-rw-r--r--dist/B-Deparse/t/deparse.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/B-Deparse/t/deparse.t b/dist/B-Deparse/t/deparse.t
index 3ae14e92b8..38ce876a30 100644
--- a/dist/B-Deparse/t/deparse.t
+++ b/dist/B-Deparse/t/deparse.t
@@ -619,7 +619,8 @@ foreach (0..3) {
# no attribute list
my $pi = 4;
####
-# := empty attribute list
+# SKIP ?$] > 5.013006 && ":= is now a syntax error"
+# := treated as an empty attribute list
no warnings;
my $pi := 4;
>>>>