summaryrefslogtreecommitdiffstats
path: root/perl_checker.src
Commit message (Collapse)AuthorAgeFilesLines
* turn an error into a warning (don't use for without "my"ing the iteration ↵Pascal Rigaux2004-11-161-2/+2
| | | | variable)
* allow disabling warnings on command-line (and have various warnings level)Pascal Rigaux2004-11-1015-224/+319
|
* *DATA is a global variablePascal Rigaux2004-10-261-1/+1
|
* handle __DATA__ thanks to RafaelPascal Rigaux2004-10-201-0/+1
|
* suggest mkdir() instead of system("mkdir ...")Pascal Rigaux2004-10-143-8/+30
|
* - add char_quote (to help emacs caml mode)Pascal Rigaux2004-10-145-11/+16
| | | | | - change prototype of str_begins_with
* "^" has a special meaning in regexps, so escaping it can be necessaryPascal Rigaux2004-10-141-1/+1
|
* check if_() with only one parameterPascal Rigaux2004-10-142-0/+7
|
* replace "my $foo = ... if <cond>" with "my $foo = <cond> && ..."Pascal Rigaux2004-10-132-0/+20
| | | | | replace "<cond> or my $foo = ..." with "my $foo = !<cond> && ..."
* *** empty log message ***Pascal Rigaux2004-10-131-2/+2
|
* check 'xxx' if $xxx (=> value is dropped)Pascal Rigaux2004-10-132-26/+33
|
* fix indentationPascal Rigaux2004-10-131-19/+19
|
* $#x == -1 is better written @x == 0Pascal Rigaux2004-10-132-2/+7
|
* check $#l < 0Pascal Rigaux2004-10-132-0/+7
|
* handle qx(...) and qx{...} with a warningPascal Rigaux2004-10-132-2/+7
|
* allow join(N("xxx"), ...)Pascal Rigaux2004-10-131-1/+2
|
* you can replace "any { $_ eq ... } @l" with "member(..., @l)"Pascal Rigaux2004-10-132-1/+11
|
* - check push argumentsPascal Rigaux2004-10-132-0/+15
| | | | | - add a test for pop arguments
* disallow the use of the return value of push and unshiftPascal Rigaux2004-10-132-1/+3
|
* allow qq{...} (with a warning)Pascal Rigaux2004-10-132-18/+25
|
* handle q{...} and qw{...} (with a warning)Pascal Rigaux2004-10-132-7/+29
|
* transform m@...@ and m:...: from errors into warnings (since we can handle ↵Pascal Rigaux2004-10-131-5/+8
| | | | it quite cleanly)
* handle "use Gtk2 -init"Pascal Rigaux2004-10-132-2/+8
|
* handle "use 5.008;"Pascal Rigaux2004-10-131-1/+1
|
* you can replace "grep { !member($_, ...) } @l" with "difference2([ @l ], [ ↵Pascal Rigaux2004-08-122-1/+10
| | | | ... ])"
* rewrite to allow a special rule for "grep"Pascal Rigaux2004-08-121-10/+17
|
* handle s:xxx:yyy: and qw/.../, issuing a warningPascal Rigaux2004-08-122-1/+14
| | | | | (hopefully the ':' added in pattern_separator won't break other lex rules...)
* check lvalue validityPascal Rigaux2004-08-124-2/+36
|
* handle the following with no syntax errorPascal Rigaux2004-08-111-0/+1
| | | | | | | | | sub f() { 1; }
* "$foo or $foo = ..." can be written "$foo ||= ..."Pascal Rigaux2004-08-112-0/+5
|
* cleanupPascal Rigaux2004-08-111-44/+41
|
* cleanupPascal Rigaux2004-08-111-26/+23
|
* this case is already handled, only add a test casePascal Rigaux2004-08-111-0/+2
|
* enforce spaces around operator "." (string concat)Pascal Rigaux2004-08-112-1/+2
|
* "$a[@a] = ..." is better written "push @a, ..."Pascal Rigaux2004-08-112-0/+6
|
* suggest better for !($foo == $bar) (same for eq, != and ne)Pascal Rigaux2004-08-112-0/+14
|
* add getservbynamePascal Rigaux2004-08-111-1/+1
|
* partially fix { xxx() }->{$foo}Pascal Rigaux2004-08-112-3/+11
|
* fix checking calls with no parameterPascal Rigaux2004-08-111-0/+1
|
* - workaround bug in ocaml on ultrasparcPascal Rigaux2004-08-021-1/+7
| | | | | | (can't catch exception "Fatal error: out-of-bound access in array or string" in native code) - add begins_with in MDK::Common::String
* Build.date is now a string (otherwise it overflowed)Pascal Rigaux2004-07-223-4/+4
|
* many perl_checker enhancements and cleanupPascal Rigaux2004-06-282-3/+3
|
* for flexible detecting of functional patternsPascal Rigaux2004-05-091-9/+13
|
* finishing context checks cleanupPascal Rigaux2004-05-094-53/+67
|
* *** empty log message ***Pascal Rigaux2004-05-081-0/+2
|
* better contextsPascal Rigaux2004-05-086-176/+183
|
* detect "$xxx == undef"Pascal Rigaux2004-04-303-4/+9
|
* suggest replacing system(qq(foo "$xxx")) with system('foo', $xxx)Pascal Rigaux2004-04-282-0/+10
|
* fix typoPascal Rigaux2004-04-281-0/+1
|
* separate rewriting rules from warningsPascal Rigaux2004-04-281-55/+51
|