X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FPerl-Critic-Policy-Dynamic-NoIndirect.git;a=blobdiff_plain;f=lib%2FPerl%2FCritic%2FPolicy%2FDynamic%2FNoIndirect.pm;h=411da99dee0bc53e9dcc15e0cc0127f7d19694a1;hp=556ecc6013c209778fce30672b363fd3b85682a0;hb=03dc7499c344c785170db4d4e8452a9eb8e03a1c;hpb=05870b723b862a0daadd62a71b81e3e8bca7f881 diff --git a/lib/Perl/Critic/Policy/Dynamic/NoIndirect.pm b/lib/Perl/Critic/Policy/Dynamic/NoIndirect.pm index 556ecc6..411da99 100644 --- a/lib/Perl/Critic/Policy/Dynamic/NoIndirect.pm +++ b/lib/Perl/Critic/Policy/Dynamic/NoIndirect.pm @@ -121,6 +121,8 @@ The uses of the L pragma inside the auditted code take precedence over Hence no violations will be reported for indirect method calls that are located inside the lexical scope of C or C<< no indirect hook => ... >>. Occurrences of C won't be a problem. +Since the reports generated by L are remapped to the corresponding L objects, the order in which the violations are returned is different from the order given by L : the former is the document order (top to bottom, left to right) while the latter is the optree order (arguments before function calls). + =head1 DEPENDENCIES L 5.8, L.