This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow => to quote built-in keywords across lines
[perl5.git] / t / base / lex.t
index 7ef7538..7821e76 100644 (file)
@@ -1,6 +1,6 @@
 #!./perl
 
-print "1..93\n";
+print "1..94\n";
 
 $x = 'x';
 
@@ -443,3 +443,7 @@ y # comment
  ;
 print "not " unless $_ eq 'b';
 print "ok 93 - y <comment> <newline> ...\n";
+
+print "not " unless (time
+                     =>) eq time=>;
+print "ok 94 - => quotes keywords across lines\n";