From 17c072341244c80d3e5d47dfa93d89908feb9303 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 13 Oct 2004 03:58:20 +0000 Subject: handle q{...} and qw{...} (with a warning) --- perl_checker.src/test/syntax_restrictions.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl_checker.src/test') diff --git a/perl_checker.src/test/syntax_restrictions.t b/perl_checker.src/test/syntax_restrictions.t index 19e2aa9..164665f 100644 --- a/perl_checker.src/test/syntax_restrictions.t +++ b/perl_checker.src/test/syntax_restrictions.t @@ -6,6 +6,10 @@ s:xxx:yyy: don't use s:...:, replace : with / ! , qw/a b c/ don't use qw/.../, use qw(...) instead +qw{a b c} don't use qw{...}, use qw(...) instead + +q{xxx} don't use q{...}, use q(...) instead + qx(xxx) don't use qx{...}, use `...` instead -xxx don't use -xxx, use '-xxx' instead -- cgit v1.2.1