… | |
… | |
1206 | |
1206 | |
1207 | =item C<PERL_ANYEVENT_STRICT> |
1207 | =item C<PERL_ANYEVENT_STRICT> |
1208 | |
1208 | |
1209 | AnyEvent does not do much argument checking by default, as thorough |
1209 | AnyEvent does not do much argument checking by default, as thorough |
1210 | argument checking is very costly. Setting this variable to a true value |
1210 | argument checking is very costly. Setting this variable to a true value |
1211 | will cause AnyEvent to thoroughly check the arguments passed to most |
1211 | will cause AnyEvent to load C<AnyEvent::Strict> and then to thoroughly |
1212 | method calls and croaks if it finds any problems. In other words, enables |
1212 | check the arguments passed to most method calls. If it finds any problems |
|
|
1213 | it will croak. |
|
|
1214 | |
|
|
1215 | In other words, enables "strict" mode. |
|
|
1216 | |
1213 | "strict" mode. Unlike C<use strict> it is definitely recommended ot keep |
1217 | Unlike C<use strict> it is definitely recommended ot keep it off in |
1214 | it off in production. |
1218 | production. |
1215 | |
1219 | |
1216 | =item C<PERL_ANYEVENT_MODEL> |
1220 | =item C<PERL_ANYEVENT_MODEL> |
1217 | |
1221 | |
1218 | This can be used to specify the event model to be used by AnyEvent, before |
1222 | This can be used to specify the event model to be used by AnyEvent, before |
1219 | auto detection and -probing kicks in. It must be a string consisting |
1223 | auto detection and -probing kicks in. It must be a string consisting |