158 |
=item C<exit_code =E<gt> 1> |
=item C<exit_code =E<gt> 1> |
159 |
|
|
160 |
The value to update C<$exit_code> with when a fatal or error message |
The value to update C<$exit_code> with when a fatal or error message |
161 |
is emited. C<$exit_code> is also updated for warnings output |
is emitted. C<$exit_code> is also updated for warnings output |
162 |
when @<$warnings_are_errors> is set. |
when @<$warnings_are_errors> is set. |
163 |
|
|
164 |
=item C<file =E<gt> \*STDERR> |
=item C<file =E<gt> \*STDERR> |
255 |
); |
); |
256 |
|
|
257 |
# Filled with output messages as keys, to detect duplicates. |
# Filled with output messages as keys, to detect duplicates. |
258 |
# The value associated to each keys is the number of occurences |
# The value associated with each key is the number of occurrences |
259 |
# filtered out. |
# filtered out. |
260 |
%_local_duplicate_messages = (); |
%_local_duplicate_messages = (); |
261 |
%_global_duplicate_messages = (); |
%_global_duplicate_messages = (); |
495 |
C<$location> can also be an instance of C<Autom4te::Location>. In this |
C<$location> can also be an instance of C<Autom4te::Location>. In this |
496 |
case the stack of contexts will be displayed in addition. |
case the stack of contexts will be displayed in addition. |
497 |
|
|
498 |
If C<$message> contains new line caracters, C<$location> is prepended |
If C<$message> contains newline characters, C<$location> is prepended |
499 |
to each line. For instance |
to each line. For instance |
500 |
|
|
501 |
msg 'error', 'somewhere', "1st line\n2nd line"; |
msg 'error', 'somewhere', "1st line\n2nd line"; |
635 |
|
|
636 |
Sometimes it is necessary to delay the output of messages. |
Sometimes it is necessary to delay the output of messages. |
637 |
For instance you might want to make diagnostics before |
For instance you might want to make diagnostics before |
638 |
channels have been completly configured. |
channels have been completely configured. |
639 |
|
|
640 |
After C<buffer_messages(@types)> has been called, messages sent with |
After C<buffer_messages(@types)> has been called, messages sent with |
641 |
C<msg> to a channel whose type is listed in C<@types> will be stored in a |
C<msg> to a channel whose type is listed in C<@types> will be stored in a |