From 3671008ec34ccba462fc6a3d51865f2a0e8f8eff Mon Sep 17 00:00:00 2001 From: Paul Cochrane Date: Tue, 26 May 2015 17:52:12 +0200 Subject: [PATCH] Add unit declarator to module declarations As of Rakudo 2015.05, the `unit` declarator is required before using `module`, `class` or `grammar` declarations (unless it uses a block). Code still using the old blockless semicolon form will throw a warning. This commit stops the warning from appearing in the new Rakudo. --- lib/Text/T9.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Text/T9.pm b/lib/Text/T9.pm index bf00fb6..91ed289 100644 --- a/lib/Text/T9.pm +++ b/lib/Text/T9.pm @@ -1,5 +1,5 @@ #= Guess words basing on a T9 key sequence -module Text::T9; +unit module Text::T9; =begin pod =head1 SYNOPSIS