diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-01 15:47:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-01 15:47:31 +0000 |
commit | 44507928a9fb23e2efda52771b4f22cef38cab09 (patch) | |
tree | bf815471950b8ab18f8e8bdd4e03e13a71b56f0c /perl_checker.src/parser_helper.mli | |
parent | 84f4abd64f2f6d1e5afae404d01a8abf36becc01 (diff) | |
download | perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar.gz perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar.bz2 perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar.xz perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.zip |
- $foo =~ /^dhcp$/ is better written $foo eq 'dhcp'
- warn "grep(&f, ...)", use "grep { f } ..." instead
Diffstat (limited to 'perl_checker.src/parser_helper.mli')
-rw-r--r-- | perl_checker.src/parser_helper.mli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl_checker.src/parser_helper.mli b/perl_checker.src/parser_helper.mli index 691efdc..82bd947 100644 --- a/perl_checker.src/parser_helper.mli +++ b/perl_checker.src/parser_helper.mli @@ -95,6 +95,7 @@ val check_block_ref : Types.fromparser list * (Types.spaces * (int * int)) -> 'a * (Types.spaces * (int * 'b)) -> unit val check_my_our_paren : ((bool * 'a) * 'b) * 'c -> unit +val check_simple_pattern : Types.fromparser list -> unit val only_one : Types.fromparser list * ('a * (int * int)) -> Types.fromparser val only_one_array_ref : Types.fromparser list * ('a * (int * int)) -> Types.fromparser |