… | |
… | |
1114 | the C<< ->send >> method has been called on it already. This is |
1114 | the C<< ->send >> method has been called on it already. This is |
1115 | because it will stall the whole program, and the whole point of using |
1115 | because it will stall the whole program, and the whole point of using |
1116 | events is to stay interactive. |
1116 | events is to stay interactive. |
1117 | |
1117 | |
1118 | It is fine, however, to call C<< ->recv >> when the user of your module |
1118 | It is fine, however, to call C<< ->recv >> when the user of your module |
1119 | requests it (i.e. if you create a http request object ad have a method |
1119 | requests it (i.e. if you create a http request object and have a method |
1120 | called C<results> that returns the results, it may call C<< ->recv >> |
1120 | called C<results> that returns the results, it may call C<< ->recv >> |
1121 | freely, as the user of your module knows what she is doing. Always). |
1121 | freely, as the user of your module knows what she is doing. Always). |
1122 | |
1122 | |
1123 | =head1 WHAT TO DO IN THE MAIN PROGRAM |
1123 | =head1 WHAT TO DO IN THE MAIN PROGRAM |
1124 | |
1124 | |
… | |
… | |
3061 | |
3061 | |
3062 | =head1 BUGS |
3062 | =head1 BUGS |
3063 | |
3063 | |
3064 | Perl 5.8 has numerous memleaks that sometimes hit this module and are hard |
3064 | Perl 5.8 has numerous memleaks that sometimes hit this module and are hard |
3065 | to work around. If you suffer from memleaks, first upgrade to Perl 5.10 |
3065 | to work around. If you suffer from memleaks, first upgrade to Perl 5.10 |
3066 | and check wether the leaks still show up. (Perl 5.10.0 has other annoying |
3066 | and check whether the leaks still show up. (Perl 5.10.0 has other annoying |
3067 | memleaks, such as leaking on C<map> and C<grep> but it is usually not as |
3067 | memleaks, such as leaking on C<map> and C<grep> but it is usually not as |
3068 | pronounced). |
3068 | pronounced). |
3069 | |
3069 | |
3070 | |
3070 | |
3071 | =head1 SEE ALSO |
3071 | =head1 SEE ALSO |