ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.169 by root, Wed Jul 9 10:36:22 2008 UTC vs.
Revision 1.170 by root, Wed Jul 9 11:53:40 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines