diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-12 01:22:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-12 01:22:33 +0000 |
commit | 540c1df0d4d2569006f839f3fda5496bfbe0782d (patch) | |
tree | 06bf6a8b252b5f60890da53102eafc2e2eccc936 /perl_checker.src/test | |
parent | 9d060d918bdabd30c51e0c2efa85ef78b5e8be8a (diff) | |
download | perl-MDK-Common-540c1df0d4d2569006f839f3fda5496bfbe0782d.tar perl-MDK-Common-540c1df0d4d2569006f839f3fda5496bfbe0782d.tar.gz perl-MDK-Common-540c1df0d4d2569006f839f3fda5496bfbe0782d.tar.bz2 perl-MDK-Common-540c1df0d4d2569006f839f3fda5496bfbe0782d.tar.xz perl-MDK-Common-540c1df0d4d2569006f839f3fda5496bfbe0782d.zip |
handle s:xxx:yyy: and qw/.../, issuing a warning
(hopefully the ':' added in pattern_separator won't break other lex rules...)
Diffstat (limited to 'perl_checker.src/test')
-rw-r--r-- | perl_checker.src/test/syntax_restrictions.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl_checker.src/test/syntax_restrictions.t b/perl_checker.src/test/syntax_restrictions.t index 27172fb..ee5437b 100644 --- a/perl_checker.src/test/syntax_restrictions.t +++ b/perl_checker.src/test/syntax_restrictions.t @@ -2,6 +2,10 @@ $xxx <<= 2 don't use "<<=", use the expanded versi m@xxx@ don't use m@...@, replace @ with / ! , or | +s:xxx:yyy: don't use s:...:, replace : with / ! , or | + +qw/a b c/ don't use qw/.../, use qw(...) instead + qx(xxx) don't use qx{...}, use `...` instead not $xxx don't use "not", use "!" instead |