diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-10-13 02:32:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-10-13 02:32:33 +0000 |
commit | f31ee08f5a9401130d389037b16666dd94232b49 (patch) | |
tree | e82b37ef943835c2b917e1b24dcfbf735e7f68ad /perl_checker.src/test | |
parent | 9409fc52b0703069806527eb72fa7a3af566365d (diff) | |
download | perl-MDK-Common-f31ee08f5a9401130d389037b16666dd94232b49.tar perl-MDK-Common-f31ee08f5a9401130d389037b16666dd94232b49.tar.gz perl-MDK-Common-f31ee08f5a9401130d389037b16666dd94232b49.tar.bz2 perl-MDK-Common-f31ee08f5a9401130d389037b16666dd94232b49.tar.xz perl-MDK-Common-f31ee08f5a9401130d389037b16666dd94232b49.zip |
handle "use Gtk2 -init"
Diffstat (limited to 'perl_checker.src/test')
-rw-r--r-- | perl_checker.src/test/syntax_restrictions.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl_checker.src/test/syntax_restrictions.t b/perl_checker.src/test/syntax_restrictions.t index ee5437b..19e2aa9 100644 --- a/perl_checker.src/test/syntax_restrictions.t +++ b/perl_checker.src/test/syntax_restrictions.t @@ -8,6 +8,8 @@ qw/a b c/ don't use qw/.../, use qw(...) instead qx(xxx) don't use qx{...}, use `...` instead +-xxx don't use -xxx, use '-xxx' instead + not $xxx don't use "not", use "!" instead $1 =~ /xxx/ do not use the result of a match (eg: $1) to match another pattern |