summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-05-27 12:57:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-05-27 12:57:32 +0000
commit2256466896c6cbaa21c27cfd059f18523c5bb1aa (patch)
tree7469257ce7ebcf87dda72f4c2cb8cbe43973b3b9
parent487b90f5397f85d30031f4125f74f5f86b297fc9 (diff)
downloadperl-MDK-Common-2256466896c6cbaa21c27cfd059f18523c5bb1aa.tar
perl-MDK-Common-2256466896c6cbaa21c27cfd059f18523c5bb1aa.tar.gz
perl-MDK-Common-2256466896c6cbaa21c27cfd059f18523c5bb1aa.tar.bz2
perl-MDK-Common-2256466896c6cbaa21c27cfd059f18523c5bb1aa.tar.xz
perl-MDK-Common-2256466896c6cbaa21c27cfd059f18523c5bb1aa.zip
new release
-rw-r--r--MDK/Common.pm.pl2
-rw-r--r--perl-MDK-Common.spec18
2 files changed, 19 insertions, 1 deletions
diff --git a/MDK/Common.pm.pl b/MDK/Common.pm.pl
index d478576..cb5152d 100644
--- a/MDK/Common.pm.pl
+++ b/MDK/Common.pm.pl
@@ -71,7 +71,7 @@ use vars qw(@ISA @EXPORT $VERSION); #);
# perl_checker: RE-EXPORT-ALL
@EXPORT = map { @$_ } map { values %{'MDK::Common::' . $_ . 'EXPORT_TAGS'} } grep { /::$/ } keys %MDK::Common::;
-$VERSION = "1.1.3";
+$VERSION = "1.1.4";
1;
EOF
diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec
index 958b7ea..d9e450f 100644
--- a/perl-MDK-Common.spec
+++ b/perl-MDK-Common.spec
@@ -64,6 +64,24 @@ rm -rf $RPM_BUILD_ROOT
# MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common
%changelog
+* Tue May 27 2003 Pixel <pixel@mandrakesoft.com> 1.1.4-1mdk
+- many perl_checker enhancements:
+ - disallow return(...), prefering return ...
+ - enhance restricted_subscripted to correctly handle -e foo::bar()->{boo}
+ - handle use foo() and use foo ("x", "y")
+ - better warning for: print $a . 'foo'
+ - add a special case to handle "arch => 1" without going through word_alone()
+ - warn things like: if ($a = 1) { ... } or 0 or ...
+ - explicitly disallow <<=, >>= and **= (instead of having a syntax error)
+ - check prototype coherence: disallow ($a, @b, $c) or ($a, $o_b, $c)
+ - warn spurious space in ( 1, 2) which should be (1, 2)
+ - warn $o->method() which should be $o->method
+ - suggest using the functional map instead of the imperative foreach when possible
+ - add warning: you can replace "map { if_(..., $_) }" with "grep { ... }"
+ - suggest any instead of grep in scalar context
+ - suggest foreach instead of map in empty context
+ - fix "/^\d+\.\*$/" giving warning "you can remove \".*$\" at the end of your regexp"
+
* Fri May 16 2003 Pixel <pixel@mandrakesoft.com> 1.1.3-1mdk
- fix pot generation (have \" instead of \\\")