Skip to content

Commit

Permalink
Add unit declarator to module declarations
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Paul Cochrane committed May 26, 2015
1 parent 5338706 commit 3671008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 3671008

Please sign in to comment.